home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 August / August CD.bin / Shareware / Games / MacWizard 5.0ƒ / MacWizard 5.0 < prev    next >
MacOS Executable  |  1994-06-05  |  1.5 MB  |  [APPL/STND]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacOS Executable (executable/macOSExecutable).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert MacOS Executable (executable/macOSExecutable) magic Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Banyans VINES patch data (other/banyansVINESPatchData) ext Unsupported
1% dexvert PCP archive log (other/pcpArchiveLog) ext Unsupported
100% file MacBinary II, inited, bundle, Thu May 19 13:36:02 1994, modified Sun Jun 5 15:22:59 1994, creator 'STND', type application, 1069440 bytes "MacWizard 5.0" , at 0x105200 464909 bytes resource Adobe Photoshop Color swatch, version 0, 384 colors; 1st RGB space (0), w 0x133, x 0, y 0x2, z 0 ; 2nd space (279), w 0, x 0, y 0, z 0 default (weak)
99% file data default
74% TrID Macintosh Application (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[APPL]
macFileCreator[STND]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 4d 61 63 57 69 7a | 61 72 64 20 35 2e 30 00 |..MacWiz|ard 5.0.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 41 50 50 4c 53 54 4e | 44 21 00 00 00 00 00 00 |.APPLSTN|D!......|
|00000050| 00 00 00 00 10 51 80 00 | 07 18 0d aa 01 54 02 aa |.....Q..|.....T..|
|00000060| 17 d6 93 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 19 0e 00 00 |........|........|
|00000080| 00 01 00 00 00 10 51 80 | 00 00 00 00 00 00 00 00 |......Q.|........|
|00000090| 00 00 01 80 00 00 01 33 | 00 00 00 02 00 00 01 17 |.......3|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 10 51 80 00 00 01 00 | 00 10 bf 00 00 00 00 40 |..Q.....|.......@|
|00000290| 00 10 53 00 00 00 6c 40 | 00 10 4f 00 00 00 51 80 |..S...l@|..O...Q.|
|000002a0| 00 10 6b 80 00 00 00 40 | 00 10 68 c0 00 00 25 00 |..k....@|..h...%.|
|000002b0| 00 10 68 c0 00 00 25 00 | 00 0f d7 40 00 00 05 00 |..h...%.|...@....|
|000002c0| 00 0f d7 40 00 00 05 00 | 00 0f d8 80 00 00 03 c0 |...@....|........|
|000002d0| 00 0f db c0 00 00 00 80 | 00 00 d5 fa 00 01 36 b1 |........|......6.|
|000002e0| 00 4e 26 95 00 00 00 00 | 00 00 00 01 00 01 36 aa |.N&.....|......6.|
|000002f0| 20 00 40 80 40 80 bb ec | 00 00 00 00 00 00 00 01 | .@.@...|........|
|00000300| 00 01 36 aa 00 4e 26 8e | 00 4e 26 00 00 01 36 aa |..6..N&.|.N&...6.|
|00000310| 40 80 cc 32 00 00 8a 60 | 00 00 00 72 00 00 00 72 |@..2...`|...r...r|
|00000320| 00 00 00 08 00 4e 26 00 | 40 80 c3 b6 40 80 c3 8a |.....N&.|@...@...|
|00000330| 00 00 00 20 00 03 20 04 | 00 03 be 20 00 00 00 00 |... .. .|... ....|
|00000340| 00 00 00 00 00 00 ff d5 | 40 80 d7 58 00 00 00 00 |........|@..X....|
|00000350| 00 00 00 00 40 80 bb ec | 00 4f 44 0e 00 00 d5 fa |....@...|.OD.....|
|00000360| 00 01 36 cf 00 4f 44 15 | 00 00 00 00 00 00 00 00 |..6..OD.|........|
|00000370| 00 01 36 c8 20 00 40 80 | 40 80 bb ec 00 00 00 00 |..6. .@.|@.......|
|00000380| 00 00 00 00 00 01 36 c8 | 00 4f 44 0e 00 4f 44 00 |......6.|.OD..OD.|
|00000390| 00 01 36 c8 40 80 cc 32 | 40 80 ca 70 40 80 ca 96 |..6.@..2|@..p@...|
|000003a0| 00 00 00 00 00 4f 44 0e | 00 4f 44 00 40 80 c3 b6 |.....OD.|.OD.@...|
|000003b0| 00 00 76 2c 40 80 8b 86 | 00 03 20 04 00 03 be 20 |..v,@...|.. .... |
|000003c0| 00 00 00 00 00 00 00 00 | ff ff ff d5 00 00 00 00 |........|........|
|000003d0| 00 0d 40 49 00 16 75 0c | 00 00 00 00 ff 00 54 ff |..@I..u.|......T.|
|000003e0| 00 3d 3b a0 00 3d 0f 2c | 00 03 bc fe 00 03 bd 0e |.=;..=.,|........|
|000003f0| 00 09 45 4c 00 38 9e ec | 00 00 d5 fa 00 3d 0e d4 |..EL.8..|.....=..|
|00000400| 00 16 00 00 ff ff 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|00000410| ff d5 00 3d 10 48 00 16 | 1e 02 00 00 00 00 00 00 |...=.H..|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 28 00 00 00 00 00 05 |........|.(......|
|00000430| a0 07 40 80 8d 7e 00 00 | 00 00 00 00 00 00 00 00 |..@..~..|........|
|00000440| 80 63 a5 80 00 3d ff ff | a4 9e 4b 4f a5 76 c0 af |.c...=..|..KO.v..|
|00000450| 00 60 00 0b 00 03 04 0f | 7c 00 00 00 08 00 00 00 |.`......||.......|
|00000460| 20 00 00 10 00 00 22 4a | 2e 9c 1b b8 00 3d 0f 1e | ....."J|.....=..|
|00000470| 00 3d 0f 22 00 1a a8 70 | 00 1b c7 14 00 3d 0f 32 |.=."...p|.....=.2|
|00000480| 00 0f b1 80 00 00 0d 80 | 00 00 0d c0 00 00 0e 00 |........|........|
|00000490| 00 00 0e 40 00 0d 3e c0 | 00 06 ff 80 00 0f e5 80 |...@..>.|........|
|000004a0| 00 06 d6 c0 00 0d 6b 80 | 00 0d 36 40 00 0d 3d c0 |......k.|..6@..=.|
|000004b0| 00 0c 9d c0 00 00 0e 80 | 00 0d 4d c0 00 0d 36 c0 |........|..M...6.|
|000004c0| 00 06 fb 40 00 06 97 c0 | 00 00 20 40 00 00 81 40 |...@....|.. @...@|
|000004d0| 00 00 81 c0 00 04 b3 80 | 00 06 e8 80 00 00 92 00 |........|........|
|000004e0| 00 00 82 40 00 04 af 80 | 00 00 92 80 00 00 9c 00 |...@....|........|
|000004f0| 00 0d bb 80 00 0c 42 00 | 00 00 9c 80 00 00 9d 00 |......B.|........|
|00000500| 00 00 9d 80 00 00 9e 00 | 00 01 25 00 00 01 25 80 |........|..%...%.|
|00000510| 00 01 26 00 00 07 d0 00 | 00 01 26 80 00 01 27 00 |..&.....|..&...'.|
|00000520| 00 01 27 80 00 05 33 c0 | 00 01 28 00 00 01 28 80 |..'...3.|..(...(.|
|00000530| 00 01 29 00 00 0a c8 40 | 00 01 29 80 00 01 2a 00 |..)....@|..)...*.|
|00000540| 00 01 2a 80 00 07 ab 00 | 00 07 a5 00 00 07 a0 c0 |..*.....|........|
|00000550| 00 06 d8 40 00 0d 87 00 | 00 04 32 c0 00 04 32 40 |...@....|..2...2@|
|00000560| 00 06 36 00 00 0d 6d 00 | 00 01 2b 00 00 01 2b 80 |..6...m.|..+...+.|
|00000570| 00 04 e9 80 00 00 00 00 | 00 09 9d c0 00 06 d5 40 |........|.......@|
|00000580| 00 06 d5 c0 00 05 bb 00 | 00 01 2c 00 00 01 2c 80 |........|..,...,.|
|00000590| 00 01 2d 00 00 06 29 c0 | 00 06 23 80 00 06 2d c0 |..-...).|..#...-.|
|000005a0| 00 06 2e 40 00 01 2e 00 | 00 01 3a 00 00 01 3a 80 |...@....|..:...:.|
|000005b0| 00 01 3b 00 00 01 3b 80 | 00 01 61 80 00 01 62 00 |..;...;.|..a...b.|
|000005c0| 00 01 62 80 00 07 b9 c0 | 00 01 64 00 00 01 64 80 |..b.....|..d...d.|
|000005d0| 00 01 65 00 00 08 33 00 | 00 01 65 80 00 01 66 00 |..e...3.|..e...f.|
|000005e0| 00 01 66 80 00 05 08 80 | 00 01 67 00 00 01 67 80 |..f.....|..g...g.|
|000005f0| 00 01 68 00 00 01 68 80 | 00 01 6d 40 00 01 6d c0 |..h...h.|..m@..m.|
|00000600| 00 01 6e 40 00 01 6e c0 | 00 01 6f c0 00 01 70 40 |..n@..n.|..o...p@|
|00000610| 00 01 70 c0 00 01 71 40 | 00 01 9a 80 00 01 9b 00 |..p...q@|........|
|00000620| 00 01 9b 80 00 01 9d 00 | 00 01 b2 40 00 01 b2 c0 |........|...@....|
|00000630| 00 01 b3 40 00 0c a5 40 | 00 01 b4 c0 00 01 b5 40 |...@...@|.......@|
|00000640| 00 01 b5 c0 00 01 b6 40 | 00 01 cb 00 00 01 cb 80 |.......@|........|
|00000650| 00 01 cc 00 00 01 cd 00 | 00 01 df 80 00 01 e0 00 |........|........|
|00000660| 00 01 e0 80 00 04 b9 c0 | 00 01 e1 00 00 01 e1 80 |........|........|
|00000670| 00 01 e2 00 00 0c 65 80 | 00 02 13 00 00 02 13 80 |......e.|........|
|00000680| 00 03 85 c0 00 0c f2 80 | 00 00 0a 00 00 00 0a 80 |........|........|
|00000690| 00 04 92 40 00 07 10 00 | 00 00 0b 00 00 00 0b 80 |...@....|........|
|000006a0| 00 00 0c 00 00 02 14 00 | 00 00 0d 00 00 02 1a 40 |........|.......@|
|000006b0| 00 04 de 00 00 04 33 40 | 00 02 25 00 00 02 26 40 |......3@|..%...&@|
|000006c0| 00 02 26 c0 00 02 27 c0 | 00 02 28 40 00 02 28 c0 |..&...'.|..(@..(.|
|000006d0| 00 02 29 40 00 02 3b 80 | 00 02 3c 00 00 02 3c 80 |..)@..;.|..<...<.|
|000006e0| 00 02 3e 00 00 02 3f 00 | 00 02 3f 80 00 02 40 00 |..>...?.|..?...@.|
|000006f0| 00 06 22 80 00 02 41 80 | 00 02 42 00 00 02 42 80 |.."...A.|..B...B.|
|00000700| 00 02 43 00 00 02 44 00 | 00 02 44 80 00 02 45 00 |..C...D.|..D...E.|
|00000710| 00 06 5e 40 00 02 46 80 | 00 02 47 00 00 02 47 80 |..^@..F.|..G...G.|
|00000720| 00 0a 93 c0 00 02 48 00 | 00 02 48 80 00 02 49 00 |......H.|..H...I.|
|00000730| 00 06 dd 80 00 02 49 80 | 00 02 4a 00 00 02 4a 80 |......I.|..J...J.|
|00000740| 00 02 4b 00 00 02 4c 00 | 00 02 4c 80 00 02 4d 00 |..K...L.|..L...M.|
|00000750| 00 06 4c c0 00 02 4e 80 | 00 02 4f 00 00 02 4f 80 |..L...N.|..O...O.|
|00000760| 00 06 77 c0 00 02 65 80 | 00 02 66 00 00 02 66 80 |..w...e.|..f...f.|
|00000770| 00 07 9e 40 00 0a bd 80 | 00 07 9e c0 00 07 9f 40 |...@....|.......@|
|00000780| 00 02 69 00 00 02 6a 00 | 00 02 6a 80 00 02 6b 00 |..i...j.|..j...k.|
|00000790| 00 07 1f 80 00 02 6c 80 | 00 02 6d 00 00 02 6d 80 |......l.|..m...m.|
|000007a0| 00 0d cd c0 00 02 6e 00 | 00 02 6e 80 00 02 6f 00 |......n.|..n...o.|
|000007b0| 00 09 af c0 00 02 73 80 | 00 02 74 00 00 02 74 80 |......s.|..t...t.|
|000007c0| 00 02 75 00 00 02 76 00 | 00 02 76 80 00 02 77 00 |..u...v.|..v...w.|
|000007d0| 00 02 78 80 00 02 7c 00 | 00 02 7c 80 00 02 7d 00 |..x...|.|..|...}.|
|000007e0| 00 02 7d 80 00 02 84 00 | 00 02 84 80 00 02 85 00 |..}.....|........|
|000007f0| 00 02 85 80 00 02 8a c0 | 00 02 8b 40 00 02 8b c0 |........|...@....|
|00000800| 00 02 8c 40 00 03 5f 40 | 00 03 5f c0 00 03 60 40 |...@.._@|.._...`@|
|00000810| 00 06 05 c0 00 03 60 c0 | 00 03 61 40 00 03 61 c0 |......`.|..a@..a.|
|00000820| 00 03 62 40 00 03 62 c0 | 00 03 63 40 00 03 63 c0 |..b@..b.|..c@..c.|
|00000830| 00 03 64 40 00 03 65 80 | 00 03 66 00 00 03 66 80 |..d@..e.|..f...f.|
|00000840| 00 03 67 00 00 03 68 80 | 00 03 69 00 00 03 69 80 |..g...h.|..i...i.|
|00000850| 00 06 37 80 00 06 37 00 | 00 06 38 80 00 06 38 00 |..7...7.|..8...8.|
|00000860| 00 06 2f 40 00 00 1f c0 | 00 09 d1 c0 00 04 3a 80 |../@....|......:.|
|00000870| 00 09 7c 00 00 03 6a 00 | 00 03 75 c0 00 03 81 c0 |..|...j.|..u.....|
|00000880| 00 0a c0 00 00 03 87 c0 | 00 04 b5 00 00 07 32 c0 |........|......2.|
|00000890| 00 07 a4 40 00 03 99 c0 | 00 03 b4 80 00 03 d2 40 |...@....|.......@|
|000008a0| 00 03 d3 00 00 03 d3 c0 | 00 03 d4 80 00 00 1f 40 |........|.......@|
|000008b0| 00 08 3c c0 00 03 e5 80 | 00 03 e7 80 00 06 2e c0 |..<.....|........|
|000008c0| 00 04 b4 00 00 04 b4 80 | 00 09 45 80 00 04 b8 c0 |........|..E.....|
|000008d0| 00 04 b9 40 00 09 26 40 | 00 06 92 c0 00 00 00 3d |...@..&@|.......=|
|000008e0| 00 06 d3 40 00 06 d6 40 | 00 06 e7 00 00 06 e7 80 |...@...@|........|
|000008f0| 00 07 45 c0 00 06 e8 00 | 00 03 e6 00 00 03 e6 80 |..E.....|........|
|00000900| 00 07 94 00 00 03 e7 00 | 00 07 0d 40 00 09 8b 40 |........|...@...@|
|00000910| 00 07 9c 40 00 07 9c c0 | 00 07 9d 40 00 01 e4 40 |...@....|...@...@|
|00000920| 00 07 42 80 00 07 43 00 | 00 07 43 80 00 0a 9e 40 |..B...C.|..C....@|
|00000930| 00 0d 37 40 00 0c 96 80 | 00 0e 1f c0 00 0c 97 00 |..7@....|........|
|00000940| 00 0c 97 80 00 06 c6 c0 | 00 06 bc 00 6e 2c 6d 61 |........|....n,ma|
|00000950| 78 2c 68 69 74 0d 72 65 | 70 65 61 74 20 77 69 74 |x,hit.re|peat wit|
|00000960| 68 20 69 20 3d 20 6d 69 | 6e 20 74 6f 20 6d 61 78 |h i = mi|n to max|
|00000970| 0d 73 65 74 20 68 69 6c | 69 74 65 20 6f 66 20 62 |.set hil|ite of b|
|00000980| 74 6e 20 69 64 20 69 20 | 74 6f 20 28 69 20 3d 20 |tn id i |to (i = |
|00000990| 68 69 74 29 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |hit).end| repeat.|
|000009a0| 65 6e 64 20 73 61 76 65 | 45 66 66 65 63 74 0d 0d |end save|Effect..|
|000009b0| 6f 6e 20 6d 6f 6e 6c 65 | 76 65 6c 20 6d 69 6e 2c |on monle|vel min,|
|000009c0| 6d 61 78 2c 68 69 74 0d | 72 65 70 65 61 74 20 77 |max,hit.|repeat w|
|000009d0| 69 74 68 20 69 20 3d 20 | 6d 69 6e 20 74 6f 20 6d |ith i = |min to m|
|000009e0| 61 78 0d 73 65 74 20 68 | 69 6c 69 74 65 20 6f 66 |ax.set h|ilite of|
|000009f0| 20 62 74 6e 20 69 64 20 | 69 20 74 6f 20 28 69 20 | btn id |i to (i |
|00000a00| 3d 20 68 69 74 29 0d 65 | 6e 64 20 72 65 70 65 61 |= hit).e|nd repea|
|00000a10| 74 0d 65 6e 64 20 6d 6f | 6e 6c 65 76 65 6c 0d 00 |t.end mo|nlevel..|
|00000a20| 00 04 00 09 00 02 00 f6 | 00 00 00 00 00 00 00 3c |........|.......<|
|00000a30| 00 14 01 42 01 ec 00 00 | 00 0d 4d 6f 6e 73 74 65 |...B....|..Monste|
|00000a40| 72 20 53 61 76 65 73 64 | 82 00 18 10 00 00 9c 18 |r Savesd|........|
|00000a50| 00 07 00 00 00 00 00 29 | 00 03 00 e3 01 3c 00 00 |.......)|.....<..|
|00000a60| 00 00 00 00 00 00 00 00 | 00 16 9a f0 00 16 9a ac |........|........|
|00000a70| 00 16 9a a8 00 16 9a ec | 00 00 00 18 0d 00 00 04 |........|........|
|00000a80| 00 00 00 82 00 00 00 4a | 00 00 00 80 00 08 00 00 |.......J|........|
|00000a90| 00 00 00 c5 01 36 00 00 | 00 00 00 00 00 00 00 00 |.....6..|........|
|00000aa0| 00 00 00 81 00 20 42 18 | 00 20 42 28 00 20 42 1c |..... B.|. B(. B.|
|00000ab0| 00 00 00 18 0d 00 00 04 | 00 09 00 02 00 00 00 00 |........|........|
|00000ac0| 00 00 00 00 00 3c 00 14 | 01 42 01 ec 00 00 00 02 |.....<..|.B......|
|00000ad0| 00 00 00 00 00 00 ff ff | 80 00 10 18 00 00 a7 d8 |........|........|
|00000ae0| 01 00 00 00 00 00 c0 02 | 00 00 00 01 00 16 a4 04 |........|........|
|00000af0| ff ff ff ff ff ff 00 02 | 00 00 80 02 00 00 00 00 |........|........|
|00000b00| 00 00 00 83 00 00 00 42 | 00 00 00 80 00 02 00 00 |.......B|........|
|00000b10| 00 81 00 00 00 82 00 00 | 00 65 00 00 00 64 69 30 |........|.e...di0|
|00000b20| 18 22 00 00 00 00 00 00 | 00 00 00 00 42 f3 0a 45 |."......|....B..E|
|00000b30| 84 02 01 60 10 00 34 00 | 90 00 06 01 11 00 00 10 |...`..4.|........|
|00000b40| 08 00 06 04 42 0c 00 40 | 00 00 00 10 20 00 6f 75 |....B..@|.... .ou|
|00000b50| 82 00 31 80 00 00 a3 2c | 00 07 00 00 00 00 00 d1 |..1....,|........|
|00000b60| 00 05 02 32 01 73 00 00 | 00 00 00 00 00 00 00 00 |...2.s..|........|
|00000b70| 00 16 9d 48 00 16 9e e4 | 00 16 9e e0 00 16 9d 40 |...H....|.......@|
|00000b80| 00 00 00 86 00 00 00 4a | 00 00 00 80 00 08 00 00 |.......J|........|
|00000b90| 00 00 00 6c 00 eb 00 00 | 00 00 00 00 00 00 00 00 |...l....|........|
|00000ba0| 00 00 00 85 00 20 3f 78 | 00 20 42 70 00 20 3f b0 |..... ?x|. Bp. ?.|
|00000bb0| 00 00 00 18 0d 00 00 04 | 00 09 00 02 00 00 00 00 |........|........|
|00000bc0| 00 00 00 00 00 3c 00 14 | 01 42 01 ec 00 00 00 02 |.....<..|.B......|
|00000bd0| 00 00 00 00 00 00 00 00 | 80 00 04 bc 00 00 9f 28 |........|.......(|
|00000be0| 00 07 00 00 00 00 00 42 | 00 47 01 67 02 37 00 00 |.......B|.G.g.7..|
|00000bf0| 00 00 00 00 00 00 00 00 | 00 16 98 d0 00 16 97 e8 |........|........|
|00000c00| 00 00 00 87 00 00 00 42 | 00 00 00 80 00 02 00 00 |.......B|........|
|00000c10| 00 85 00 00 00 86 00 00 | 00 65 00 00 00 64 35 26 |........|.e...d5&|
|00000c20| d9 9a 00 00 00 00 00 00 | 00 00 00 00 0f 09 02 2d |........|.......-|
|00000c30| 84 01 02 00 34 00 0a 00 | 04 00 04 08 12 00 01 20 |....4...|....... |
|00000c40| 0f 00 07 01 00 04 00 01 | 00 02 10 50 00 00 01 ec |........|...P....|
|00000c50| 00 00 39 bc 01 2c 00 02 | 00 00 00 00 00 64 00 00 |..9..,..|.....d..|
|00000c60| 00 01 00 01 00 01 00 10 | 00 56 00 00 00 00 00 ff |........|.V......|
|00000c70| 00 ff 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c80| 00 00 00 88 00 00 00 da | 00 00 01 00 00 04 00 06 |........|........|
|00000c90| 00 00 00 0f 00 00 00 01 | 00 00 00 01 00 00 00 66 |........|.......f|
|00000ca0| 00 00 00 00 01 02 01 2b | 01 6e 02 16 00 72 00 59 |.......+|.n...r.Y|
|00000cb0| 02 89 01 7d 00 1d 84 a4 | 00 1d 83 24 00 01 00 01 |...}....|...$....|
|00000cc0| 00 00 00 87 00 00 00 8c | 6f 6e 20 70 61 72 74 79 |........|on party|
|00000cd0| 41 63 74 69 6f 6e 20 6d | 69 6e 2c 6d 61 78 2c 68 |Action m|in,max,h|
|00000ce0| 69 74 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |it.repea|t with i|
|00000cf0| 20 3d 20 6d 69 6e 20 74 | 6f 20 6d 61 78 0d 73 65 | = min t|o max.se|
|00000d00| 74 20 68 69 6c 69 74 65 | 20 6f 66 20 62 74 6e 20 |t hilite| of btn |
|00000d10| 69 64 20 69 20 74 6f 20 | 28 69 20 3d 20 68 69 74 |id i to |(i = hit|
|00000d20| 29 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |).end re|peat.end|
|00000d30| 20 70 61 72 74 79 41 63 | 74 69 6f 6e 0d 00 00 04 | partyAc|tion....|
|00000d40| 00 09 00 02 00 00 00 00 | 00 00 00 00 00 3c 00 14 |........|.....<..|
|00000d50| 01 42 01 ec 00 00 00 0e | 52 65 61 63 74 69 6f 6e |.B......|Reaction|
|00000d60| 20 52 6f 6c 6c 73 00 00 | 80 00 13 28 00 00 a2 58 | Rolls..|...(...X|
|00000d70| 00 07 00 00 00 00 00 2c | 00 04 01 51 01 f4 00 00 |.......,|...Q....|
|00000d80| 00 00 00 8a 00 00 00 4a | 00 00 00 80 00 08 00 00 |.......J|........|
|00000d90| 00 00 05 dc 03 40 00 00 | 00 00 00 00 00 00 00 00 |.....@..|........|
|00000da0| 00 00 00 8b 00 1e 98 8c | 00 1e 98 9c 00 1e 98 90 |........|........|
|00000db0| 00 00 00 18 0d 00 00 04 | 00 09 00 02 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 3c 00 14 | 01 42 01 ec 00 00 00 02 |.....<..|.B......|
|00000dd0| 00 00 00 00 00 00 6f 66 | 82 00 00 4c 00 00 a5 d0 |......of|...L....|
|00000de0| 00 02 00 00 00 61 00 00 | 00 60 00 00 00 65 00 00 |.....a..|.`...e..|
|00000df0| 00 64 4f fa f5 d1 00 00 | 00 00 00 00 00 00 00 00 |.dO.....|........|
|00000e00| 00 00 00 01 00 00 00 16 | 00 00 00 40 00 01 00 00 |........|...@....|
|00000e10| 00 42 00 00 00 ca 00 00 | 00 00 00 01 00 42 00 00 |.B......|.....B..|
|00000e20| 00 10 00 16 00 00 26 f8 | 00 35 6f 6e 20 73 74 61 |......&.|.5on sta|
|00000e30| 72 74 55 70 0d 65 64 69 | 74 6f 72 0d 65 6e 64 20 |rtUp.edi|tor.end |
|00000e40| 00 00 00 02 00 00 00 16 | 00 00 00 40 00 01 00 00 |........|...@....|
|00000e50| 00 16 00 00 00 9b 00 00 | 00 00 00 01 00 16 00 00 |........|........|
|00000e60| 00 08 00 16 00 00 26 f8 | 00 00 00 65 00 00 00 00 |......&.|...e....|
|00000e70| 00 00 00 00 00 00 00 00 | 00 16 9d 84 00 16 9f 14 |........|........|
|00000e80| 00 00 00 03 00 00 00 16 | 00 00 00 40 00 01 00 00 |........|...@....|
|00000e90| 00 08 00 00 80 4c 00 00 | 00 00 00 01 00 08 00 00 |.....L..|........|
|00000ea0| 01 04 00 54 00 00 00 2c | 00 15 fb e8 00 03 00 00 |...T...,|........|
|00000eb0| 01 03 00 00 00 65 21 70 | a6 80 43 55 52 53 00 00 |.....e!p|..CURS..|
|00000ec0| 00 00 00 04 00 00 00 10 | 00 00 00 40 00 01 00 00 |........|...@....|
|00000ed0| 00 00 00 00 00 64 00 00 | 00 00 00 00 82 00 00 24 |.....d..|.......$|
|00000ee0| 00 00 a7 18 00 00 00 3c | 00 28 01 00 01 22 00 00 |.......<|.(..."..|
|00000ef0| 00 00 00 16 a2 d8 00 16 | a2 c0 00 16 a2 90 20 26 |........|...... &|
|00000f00| 00 00 00 0d 00 00 10 9a | 00 00 10 c0 00 04 00 06 |........|........|
|00000f10| 00 00 00 0f 00 00 00 01 | 00 00 00 01 00 00 00 6d |........|.......m|
|00000f20| 00 00 00 00 00 a4 00 e5 | 01 cc 02 5c 00 54 00 38 |........|...\.T.8|
|00000f30| 01 18 01 38 00 20 3c 3c | 00 20 3f 50 00 01 00 01 |...8. <<|. ?P....|
|00000f40| 00 00 00 f9 00 00 10 4a | 6f 6e 20 6d 61 67 69 63 |.......J|on magic|
|00000f50| 49 74 65 6d 73 0d 67 6c | 6f 62 61 6c 20 6a 65 77 |Items.gl|obal jew|
|00000f60| 65 6c 72 79 70 65 72 63 | 65 6e 74 2c 69 74 65 6d |elryperc|ent,item|
|00000f70| 6e 75 6d 2c 70 6f 74 72 | 65 74 75 72 6e 2c 6e 6f |num,potr|eturn,no|
|00000f80| 77 65 61 70 6f 6e 2c 6d | 61 67 69 63 74 61 6c 6c |weapon,m|agictall|
|00000f90| 79 2c 74 72 65 61 73 2c | 67 65 6d 62 61 73 65 73 |y,treas,|gembases|
|00000fa0| 2c 61 72 74 69 65 73 2c | 67 65 6d 76 61 72 73 2c |,arties,|gemvars,|
|00000fb0| 73 63 72 6f 6c 6c 73 0d | 72 65 70 65 61 74 20 66 |scrolls.|repeat f|
|00000fc0| 6f 72 20 69 74 65 6d 6e | 75 6d 0d 70 75 74 20 74 |or itemn|um.put t|
|00000fd0| 68 65 20 72 61 6e 64 6f | 6d 20 6f 66 20 31 30 30 |he rando|m of 100|
|00000fe0| 20 69 6e 74 6f 20 6d 61 | 67 74 79 70 65 0d 69 66 | into ma|gtype.if|
|00000ff0| 20 6e 6f 77 65 61 70 6f | 6e 20 3d 20 22 79 65 73 | noweapo|n = "yes|
|00001000| 22 20 74 68 65 6e 20 72 | 65 70 65 61 74 20 75 6e |" then r|epeat un|
|00001010| 74 69 6c 20 6d 61 67 74 | 79 70 65 20 3c 37 36 0d |til magt|ype <76.|
|00001020| 70 75 74 20 74 68 65 20 | 72 61 6e 64 6f 6d 20 6f |put the |random o|
|00001030| 66 20 31 30 30 20 69 6e | 74 6f 20 6d 61 67 74 79 |f 100 in|to magty|
|00001040| 70 65 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 70 75 |pe.end r|epeat.pu|
|00001050| 74 20 74 68 65 20 72 61 | 6e 64 6f 6d 20 6f 66 20 |t the ra|ndom of |
|00001060| 36 20 69 6e 74 6f 20 73 | 75 62 74 79 70 65 0d 69 |6 into s|ubtype.i|
|00001070| 66 20 6d 61 67 74 79 70 | 65 20 3e 3d 31 20 61 6e |f magtyp|e >=1 an|
|00001080| 64 20 6d 61 67 74 79 70 | 65 20 3c 3d 32 30 20 74 |d magtyp|e <=20 t|
|00001090| 68 65 6e 0d 70 6f 74 44 | 65 73 0d 70 75 74 20 70 |hen.potD|es.put p|
|000010a0| 6f 74 72 65 74 75 72 6e | 20 26 20 63 72 20 61 66 |otreturn| & cr af|
|000010b0| 74 65 72 20 6d 61 67 69 | 63 74 61 6c 6c 79 0d 65 |ter magi|ctally.e|
|000010c0| 6e 64 20 69 66 0d 69 66 | 20 6d 61 67 74 79 70 65 |nd if.if| magtype|
|000010d0| 20 3e 3d 32 31 20 61 6e | 64 20 6d 61 67 74 79 70 | >=21 an|d magtyp|
|000010e0| 65 20 3c 3d 33 35 20 74 | 68 65 6e 0d 69 66 20 73 |e <=35 t|hen.if s|
|000010f0| 75 62 74 79 70 65 20 3e | 3d 31 20 61 6e 64 20 73 |ubtype >|=1 and s|
|00001100| 75 62 74 79 70 65 20 3c | 3d 34 20 74 68 65 6e 20 |ubtype <|=4 then |
|00001110| 70 75 74 20 61 6e 79 20 | 6c 69 6e 65 20 6f 66 20 |put any |line of |
|00001120| 63 64 20 66 6c 64 20 22 | 53 63 72 6f 6c 6c 73 20 |cd fld "|Scrolls |
|00001130| 61 22 20 6f 66 20 77 64 | 20 22 54 72 65 61 73 75 |a" of wd| "Treasu|
|00001140| 72 65 73 22 20 26 20 63 | 72 20 61 66 74 65 72 20 |res" & c|r after |
|00001150| 6d 61 67 69 63 74 61 6c | 6c 79 0d 69 66 20 73 75 |magictal|ly.if su|
|00001160| 62 74 79 70 65 20 3e 3d | 35 20 61 6e 64 20 73 75 |btype >=|5 and su|
|00001170| 62 74 79 70 65 20 3c 3d | 36 20 74 68 65 6e 20 70 |btype <=|6 then p|
|00001180| 75 74 20 61 6e 79 20 6c | 69 6e 65 20 6f 66 20 63 |ut any l|ine of c|
|00001190| 64 20 66 6c 64 20 22 53 | 63 72 6f 6c 6c 73 20 42 |d fld "S|crolls B|
|000011a0| 22 20 6f 66 20 77 64 20 | 22 54 72 65 61 73 75 72 |" of wd |"Treasur|
|000011b0| 65 73 22 20 26 20 63 72 | 20 61 66 74 65 72 20 6d |es" & cr| after m|
|000011c0| 61 67 69 63 74 61 6c 6c | 79 0d 65 6e 64 20 69 66 |agictall|y.end if|
|000011d0| 0d 69 66 20 6d 61 67 74 | 79 70 65 20 3e 3d 33 36 |.if magt|ype >=36|
|000011e0| 20 61 6e 64 20 6d 61 67 | 74 79 70 65 20 3c 3d 34 | and mag|type <=4|
|000011f0| 30 20 74 68 65 6e 0d 69 | 66 20 73 75 62 74 79 70 |0 then.i|f subtyp|
|00001200| 65 20 3e 3d 31 20 61 6e | 64 20 73 75 62 74 79 70 |e >=1 an|d subtyp|
|00001210| 65 20 3c 3d 34 20 74 68 | 65 6e 20 70 75 74 20 61 |e <=4 th|en put a|
|00001220| 6e 79 20 6c 69 6e 65 20 | 6f 66 20 63 64 20 66 6c |ny line |of cd fl|
|00001230| 64 20 22 52 69 6e 67 73 | 20 61 22 20 6f 66 20 77 |d "Rings| a" of w|
|00001240| 64 20 22 54 72 65 61 73 | 75 72 65 73 22 20 26 20 |d "Treas|ures" & |
|00001250| 63 72 20 61 66 74 65 72 | 20 6d 61 67 69 63 74 61 |cr after| magicta|
|00001260| 6c 6c 79 0d 69 66 20 73 | 75 62 74 79 70 65 20 3e |lly.if s|ubtype >|
|00001270| 3d 35 20 61 6e 64 20 73 | 75 62 74 79 70 65 20 3c |=5 and s|ubtype <|
|00001280| 3d 36 20 74 68 65 6e 20 | 70 75 74 20 61 6e 79 20 |=6 then |put any |
|00001290| 6c 69 6e 65 20 6f 66 20 | 63 64 20 66 6c 64 20 22 |line of |cd fld "|
|000012a0| 52 69 6e 67 73 20 42 22 | 20 6f 66 20 77 64 20 22 |Rings B"| of wd "|
|000012b0| 54 72 65 61 73 75 72 65 | 73 22 20 26 20 63 72 20 |Treasure|s" & cr |
|000012c0| 61 66 74 65 72 20 6d 61 | 67 69 63 74 61 6c 6c 79 |after ma|gictally|
|000012d0| 0d 65 6e 64 20 69 66 0d | 69 66 20 6d 61 67 74 79 |.end if.|if magty|
|000012e0| 70 65 20 3d 20 34 31 20 | 74 68 65 6e 0d 70 75 74 |pe = 41 |then.put|
|000012f0| 20 28 74 68 65 20 72 61 | 6e 64 6f 6d 20 6f 66 20 | (the ra|ndom of |
|00001300| 31 30 29 2b 34 30 20 69 | 6e 74 6f 20 63 68 61 72 |10)+40 i|nto char|
|00001310| 67 65 73 0d 70 75 74 20 | 61 6e 79 20 6c 69 6e 65 |ges.put |any line|
|00001320| 20 6f 66 20 63 64 20 66 | 6c 64 20 22 52 6f 64 73 | of cd f|ld "Rods|
|00001330| 22 20 6f 66 20 77 64 20 | 22 54 72 65 61 73 75 72 |" of wd |"Treasur|
|00001340| 65 73 22 20 26 26 20 22 | 28 22 20 26 20 63 68 61 |es" && "|(" & cha|
|00001350| 72 67 65 73 20 26 26 20 | 22 63 68 61 72 67 65 73 |rges && |"charges|
|00001360| 29 22 20 26 20 63 72 20 | 61 66 74 65 72 20 6d 61 |)" & cr |after ma|
|00001370| 67 69 63 74 61 6c 6c 79 | 0d 65 6e 64 20 69 66 0d |gictally|.end if.|
|00001380| 69 66 20 6d 61 67 74 79 | 70 65 20 3d 20 34 32 20 |if magty|pe = 42 |
|00001390| 74 68 65 6e 0d 70 75 74 | 20 28 74 68 65 20 72 61 |then.put| (the ra|
|000013a0| 6e 64 6f 6d 20 6f 66 20 | 36 29 2b 31 39 20 69 6e |ndom of |6)+19 in|
|000013b0| 74 6f 20 63 68 61 72 67 | 65 73 0d 70 75 74 20 61 |to charg|es.put a|
|000013c0| 6e 79 20 6c 69 6e 65 20 | 6f 66 20 63 64 20 66 6c |ny line |of cd fl|
|000013d0| 64 20 22 53 74 61 76 65 | 73 22 20 6f 66 20 77 64 |d "Stave|s" of wd|
|000013e0| 20 22 54 72 65 61 73 75 | 72 65 73 22 20 69 6e 74 | "Treasu|res" int|
|000013f0| 6f 20 74 68 69 73 69 74 | 65 6d 0d 69 66 20 74 68 |o thisit|em.if th|
|00001400| 69 73 69 74 65 6d 20 3c | 3e 20 22 53 74 61 66 66 |isitem <|> "Staff|
|00001410| 20 6f 66 20 74 68 65 20 | 53 65 72 70 65 6e 74 22 | of the |Serpent"|
|00001420| 20 74 68 65 6e 20 70 75 | 74 20 74 68 69 73 69 74 | then pu|t thisit|
|00001430| 65 6d 20 26 26 20 22 28 | 22 20 26 20 63 68 61 72 |em && "(|" & char|
|00001440| 67 65 73 20 26 26 20 22 | 63 68 61 72 67 65 73 29 |ges && "|charges)|
|00001450| 22 20 26 20 63 72 20 61 | 66 74 65 72 20 6d 61 67 |" & cr a|fter mag|
|00001460| 69 63 74 61 6c 6c 79 0d | 69 66 20 74 68 69 73 69 |ictally.|if thisi|
|00001470| 74 65 6d 20 3d 20 22 53 | 74 61 66 66 20 6f 66 20 |tem = "S|taff of |
|00001480| 74 68 65 20 53 65 72 70 | 65 6e 74 22 20 74 68 65 |the Serp|ent" the|
|00001490| 6e 20 70 75 74 20 74 68 | 69 73 69 74 65 6d 20 26 |n put th|isitem &|
|000014a0| 20 63 72 20 61 66 74 65 | 72 20 6d 61 67 69 63 74 | cr afte|r magict|
|000014b0| 61 6c 6c 79 0d 65 6e 64 | 20 69 66 0d 69 66 20 6d |ally.end| if.if m|
|000014c0| 61 67 74 79 70 65 20 3e | 3d 34 33 20 61 6e 64 20 |agtype >|=43 and |
|000014d0| 6d 61 67 74 79 70 65 20 | 3c 3d 34 35 20 74 68 65 |magtype |<=45 the|
|000014e0| 6e 0d 70 75 74 20 28 74 | 68 65 20 72 61 6e 64 6f |n.put (t|he rando|
|000014f0| 6d 20 6f 66 20 32 30 29 | 2b 38 30 20 69 6e 74 6f |m of 20)|+80 into|
|00001500| 20 63 68 61 72 67 65 73 | 0d 70 75 74 20 61 6e 79 | charges|.put any|
|00001510| 20 6c 69 6e 65 20 6f 66 | 20 63 64 20 66 6c 64 20 | line of| cd fld |
|00001520| 22 57 61 6e 64 73 22 20 | 6f 66 20 77 64 20 22 54 |"Wands" |of wd "T|
|00001530| 72 65 61 73 75 72 65 73 | 22 20 26 26 20 22 28 22 |reasures|" && "("|
|00001540| 20 26 20 63 68 61 72 67 | 65 73 20 26 26 20 22 63 | & charg|es && "c|
|00001550| 68 61 72 67 65 73 29 22 | 20 26 20 63 72 20 61 66 |harges)"| & cr af|
|00001560| 74 65 72 20 6d 61 67 69 | 63 74 61 6c 6c 79 0d 65 |ter magi|ctally.e|
|00001570| 6e 64 20 69 66 0d 69 66 | 20 6d 61 67 74 79 70 65 |nd if.if| magtype|
|00001580| 20 3d 20 34 36 20 74 68 | 65 6e 20 70 75 74 20 61 | = 46 th|en put a|
|00001590| 6e 79 20 6c 69 6e 65 20 | 6f 66 20 63 64 20 66 6c |ny line |of cd fl|
|000015a0| 64 20 22 42 6f 6f 6b 73 | 22 20 6f 66 20 77 64 20 |d "Books|" of wd |
|000015b0| 22 54 72 65 61 73 75 72 | 65 73 22 20 26 20 63 72 |"Treasur|es" & cr|
|000015c0| 20 61 66 74 65 72 20 6d | 61 67 69 63 74 61 6c 6c | after m|agictall|
|000015d0| 79 0d 69 66 20 6d 61 67 | 74 79 70 65 20 3e 3d 34 |y.if mag|type >=4|
|000015e0| 37 20 61 6e 64 20 6d 61 | 67 74 79 70 65 20 3c 3d |7 and ma|gtype <=|
|000015f0| 34 38 20 74 68 65 6e 0d | 69 66 20 73 75 62 74 79 |48 then.|if subty|
|00001600| 70 65 20 3e 3d 31 20 61 | 6e 64 20 73 75 62 74 79 |pe >=1 a|nd subty|
|00001610| 70 65 20 3c 3d 33 20 74 | 68 65 6e 20 70 75 74 20 |pe <=3 t|hen put |
|00001620| 61 6e 79 20 6c 69 6e 65 | 20 6f 66 20 63 64 20 66 |any line| of cd f|
|00001630| 6c 64 20 22 4a 65 77 65 | 6c 73 20 61 22 20 6f 66 |ld "Jewe|ls a" of|
|00001640| 20 77 64 20 22 54 72 65 | 61 73 75 72 65 73 22 20 | wd "Tre|asures" |
|00001650| 26 20 63 72 20 61 66 74 | 65 72 20 6d 61 67 69 63 |& cr aft|er magic|
|00001660| 74 61 6c 6c 79 0d 69 66 | 20 73 75 62 74 79 70 65 |tally.if| subtype|
|00001670| 20 3e 3d 34 20 61 6e 64 | 20 73 75 62 74 79 70 65 | >=4 and| subtype|
|00001680| 20 3c 3d 36 20 74 68 65 | 6e 20 70 75 74 20 61 6e | <=6 the|n put an|
|00001690| 79 20 6c 69 6e 65 20 6f | 66 20 63 64 20 66 6c 64 |y line o|f cd fld|
|000016a0| 20 22 4a 65 77 65 6c 73 | 20 42 22 20 6f 66 20 77 | "Jewels| B" of w|
|000016b0| 64 20 22 54 72 65 61 73 | 75 72 65 73 22 20 26 20 |d "Treas|ures" & |
|000016c0| 63 72 20 61 66 74 65 72 | 20 6d 61 67 69 63 74 61 |cr after| magicta|
|000016d0| 6c 6c 79 0d 65 6e 64 20 | 69 66 0d 69 66 20 6d 61 |lly.end |if.if ma|
|000016e0| 67 74 79 70 65 20 3e 3d | 34 39 20 61 6e 64 20 6d |gtype >=|49 and m|
|000016f0| 61 67 74 79 70 65 20 3c | 3d 35 30 20 74 68 65 6e |agtype <|=50 then|
|00001700| 20 70 75 74 20 61 6e 79 | 20 6c 69 6e 65 20 6f 66 | put any| line of|
|00001710| 20 63 64 20 66 6c 64 20 | 22 43 6c 6f 61 6b 73 22 | cd fld |"Cloaks"|
|00001720| 20 6f 66 20 77 64 20 22 | 54 72 65 61 73 75 72 65 | of wd "|Treasure|
|00001730| 73 22 20 26 20 63 72 20 | 61 66 74 65 72 20 6d 61 |s" & cr |after ma|
|00001740| 67 69 63 74 61 6c 6c 79 | 0d 69 66 20 6d 61 67 74 |gictally|.if magt|
|00001750| 79 70 65 20 3e 3d 35 31 | 20 61 6e 64 20 6d 61 67 |ype >=51| and mag|
|00001760| 74 79 70 65 20 3c 3d 35 | 32 20 74 68 65 6e 20 70 |type <=5|2 then p|
|00001770| 75 74 20 61 6e 79 20 6c | 69 6e 65 20 6f 66 20 63 |ut any l|ine of c|
|00001780| 64 20 66 6c 64 20 22 42 | 6f 6f 74 73 22 20 6f 66 |d fld "B|oots" of|
|00001790| 20 77 64 20 22 54 72 65 | 61 73 75 72 65 73 22 20 | wd "Tre|asures" |
|000017a0| 26 20 63 72 20 61 66 74 | 65 72 20 6d 61 67 69 63 |& cr aft|er magic|
|000017b0| 74 61 6c 6c 79 0d 69 66 | 20 6d 61 67 74 79 70 65 |tally.if| magtype|
|000017c0| 20 3d 20 35 33 20 74 68 | 65 6e 20 70 75 74 20 61 | = 53 th|en put a|
|000017d0| 6e 79 20 6c 69 6e 65 20 | 6f 66 20 63 64 20 66 6c |ny line |of cd fl|
|000017e0| 64 20 22 47 69 72 64 6c | 65 73 22 20 6f 66 20 77 |d "Girdl|es" of w|
|000017f0| 64 20 22 54 72 65 61 73 | 75 72 65 73 22 20 26 20 |d "Treas|ures" & |
|00001800| 63 72 20 61 66 74 65 72 | 20 6d 61 67 69 63 74 61 |cr after| magicta|
|00001810| 6c 6c 79 0d 69 66 20 6d | 61 67 74 79 70 65 20 3e |lly.if m|agtype >|
|00001820| 3d 35 34 20 61 6e 64 20 | 6d 61 67 74 79 70 65 20 |=54 and |magtype |
|00001830| 3c 3d 35 35 20 74 68 65 | 6e 20 70 75 74 20 61 6e |<=55 the|n put an|
|00001840| 79 20 6c 69 6e 65 20 6f | 66 20 63 64 20 66 6c 64 |y line o|f cd fld|
|00001850| 20 22 42 61 67 73 22 20 | 6f 66 20 77 64 20 22 54 | "Bags" |of wd "T|
|00001860| 72 65 61 73 75 72 65 73 | 22 20 26 20 63 72 20 61 |reasures|" & cr a|
|00001870| 66 74 65 72 20 6d 61 67 | 69 63 74 61 6c 6c 79 0d |fter mag|ictally.|
|00001880| 69 66 20 6d 61 67 74 79 | 70 65 20 3d 20 35 36 20 |if magty|pe = 56 |
|00001890| 74 68 65 6e 20 70 75 74 | 20 61 6e 79 20 6c 69 6e |then put| any lin|
|000018a0| 65 20 6f 66 20 63 64 20 | 66 6c 64 20 22 44 75 73 |e of cd |fld "Dus|
|000018b0| 74 73 22 20 6f 66 20 77 | 64 20 22 54 72 65 61 73 |ts" of w|d "Treas|
|000018c0| 75 72 65 73 22 20 26 20 | 63 72 20 61 66 74 65 72 |ures" & |cr after|
|000018d0| 20 6d 61 67 69 63 74 61 | 6c 6c 79 0d 69 66 20 6d | magicta|lly.if m|
|000018e0| 61 67 74 79 70 65 20 3d | 20 35 37 20 74 68 65 6e |agtype =| 57 then|
|000018f0| 20 70 75 74 20 61 6e 79 | 20 6c 69 6e 65 20 6f 66 | put any| line of|
|00001900| 20 63 64 20 66 6c 64 20 | 22 48 6f 75 73 65 68 6f | cd fld |"Househo|
|00001910| 6c 64 22 20 6f 66 20 77 | 64 20 22 54 72 65 61 73 |ld" of w|d "Treas|
|00001920| 75 72 65 73 22 20 26 20 | 63 72 20 61 66 74 65 72 |ures" & |cr after|
|00001930| 20 6d 61 67 69 63 74 61 | 6c 6c 79 0d 69 66 20 6d | magicta|lly.if m|
|00001940| 61 67 74 79 70 65 20 3d | 20 35 38 20 74 68 65 6e |agtype =| 58 then|
|00001950| 20 70 75 74 20 61 6e 79 | 20 6c 69 6e 65 20 6f 66 | put any| line of|
|00001960| 20 63 64 20 66 6c 64 20 | 22 4d 75 73 69 63 61 6c | cd fld |"Musical|
|00001970| 22 20 6f 66 20 77 64 20 | 22 54 72 65 61 73 75 72 |" of wd |"Treasur|
|00001980| 65 73 22 20 26 20 63 72 | 20 61 66 74 65 72 20 6d |es" & cr| after m|
|00001990| 61 67 69 63 74 61 6c 6c | 79 0d 69 66 20 6d 61 67 |agictall|y.if mag|
|000019a0| 74 79 70 65 20 3e 3d 35 | 39 20 61 6e 64 20 6d 61 |type >=5|9 and ma|
|000019b0| 67 74 79 70 65 20 3c 3d | 36 30 20 74 68 65 6e 0d |gtype <=|60 then.|
|000019c0| 69 66 20 73 75 62 74 79 | 70 65 20 3e 3d 31 20 61 |if subty|pe >=1 a|
|000019d0| 6e 64 20 73 75 62 74 79 | 70 65 20 3c 3d 33 20 74 |nd subty|pe <=3 t|
|000019e0| 68 65 6e 20 70 75 74 20 | 61 6e 79 20 6c 69 6e 65 |hen put |any line|
|000019f0| 20 6f 66 20 63 64 20 66 | 6c 64 20 22 57 65 69 72 | of cd f|ld "Weir|
|00001a00| 64 20 61 22 20 6f 66 20 | 77 64 20 22 54 72 65 61 |d a" of |wd "Trea|
|00001a10| 73 75 72 65 73 22 20 26 | 20 63 72 20 61 66 74 65 |sures" &| cr afte|
|00001a20| 72 20 6d 61 67 69 63 74 | 61 6c 6c 79 0d 69 66 20 |r magict|ally.if |
|00001a30| 73 75 62 74 79 70 65 20 | 3e 3d 34 20 61 6e 64 20 |subtype |>=4 and |
|00001a40| 73 75 62 74 79 70 65 20 | 3c 3d 36 20 74 68 65 6e |subtype |<=6 then|
|00001a50| 20 70 75 74 20 61 6e 79 | 20 6c 69 6e 65 20 6f 66 | put any| line of|
|00001a60| 20 63 64 20 66 6c 64 20 | 22 57 65 69 72 64 20 42 | cd fld |"Weird B|
|00001a70| 22 20 6f 66 20 77 64 20 | 22 54 72 65 61 73 75 72 |" of wd |"Treasur|
|00001a80| 65 73 22 20 26 20 63 72 | 20 61 66 74 65 72 20 6d |es" & cr| after m|
|00001a90| 61 67 69 63 74 61 6c 6c | 79 0d 65 6e 64 20 69 66 |agictall|y.end if|
|00001aa0| 0d 69 66 20 6d 61 67 74 | 79 70 65 20 3e 3d 36 31 |.if magt|ype >=61|
|00001ab0| 20 61 6e 64 20 6d 61 67 | 74 79 70 65 20 3c 3d 37 | and mag|type <=7|
|00001ac0| 35 20 74 68 65 6e 0d 70 | 75 74 20 61 6e 79 20 6c |5 then.p|ut any l|
|00001ad0| 69 6e 65 20 6f 66 20 63 | 64 20 66 6c 64 20 22 41 |ine of c|d fld "A|
|00001ae0| 72 6d 6f 72 22 20 6f 66 | 20 77 64 20 22 54 72 65 |rmor" of| wd "Tre|
|00001af0| 61 73 75 72 65 73 22 20 | 69 6e 74 6f 20 61 72 6d |asures" |into arm|
|00001b00| 6f 72 0d 69 66 20 61 72 | 6d 6f 72 20 3d 20 22 53 |or.if ar|mor = "S|
|00001b10| 70 65 63 69 61 6c 22 20 | 74 68 65 6e 0d 70 75 74 |pecial" |then.put|
|00001b20| 20 61 6e 79 20 6c 69 6e | 65 20 6f 66 20 63 64 20 | any lin|e of cd |
|00001b30| 66 6c 64 20 22 53 70 65 | 63 69 61 6c 20 61 72 6d |fld "Spe|cial arm|
|00001b40| 6f 72 22 20 26 20 63 72 | 20 61 66 74 65 72 20 6d |or" & cr| after m|
|00001b50| 61 67 69 63 74 61 6c 6c | 79 0d 65 6e 64 20 69 66 |agictall|y.end if|
|00001b60| 0d 69 66 20 61 72 6d 6f | 72 20 3c 3e 20 22 53 70 |.if armo|r <> "Sp|
|00001b70| 65 63 69 61 6c 22 20 74 | 68 65 6e 20 70 75 74 20 |ecial" t|hen put |
|00001b80| 61 72 6d 6f 72 20 26 26 | 20 61 6e 79 20 6c 69 6e |armor &&| any lin|
|00001b90| 65 20 6f 66 20 63 64 20 | 66 6c 64 20 22 61 72 6d |e of cd |fld "arm|
|00001ba0| 6f 72 20 61 64 6a 22 20 | 6f 66 20 77 64 20 22 54 |or adj" |of wd "T|
|00001bb0| 72 65 61 73 75 72 65 73 | 22 20 26 20 63 72 20 61 |reasures|" & cr a|
|00001bc0| 66 74 65 72 20 6d 61 67 | 69 63 74 61 6c 6c 79 0d |fter mag|ictally.|
|00001bd0| 65 6e 64 20 69 66 0d 69 | 66 20 6d 61 67 74 79 70 |end if.i|f magtyp|
|00001be0| 65 20 3e 3d 37 36 20 61 | 6e 64 20 6d 61 67 74 79 |e >=76 a|nd magty|
|00001bf0| 70 65 20 3c 3d 31 30 30 | 20 74 68 65 6e 0d 69 66 |pe <=100| then.if|
|00001c00| 20 73 75 62 74 79 70 65 | 20 3e 3d 31 20 61 6e 64 | subtype| >=1 and|
|00001c10| 20 73 75 62 74 79 70 65 | 20 3c 3d 33 20 74 68 65 | subtype| <=3 the|
|00001c20| 6e 20 70 75 74 20 61 6e | 79 20 6c 69 6e 65 20 6f |n put an|y line o|
|00001c30| 66 20 63 64 20 66 6c 64 | 20 22 57 65 61 70 6f 6e |f cd fld| "Weapon|
|00001c40| 73 20 61 22 20 6f 66 20 | 77 64 20 22 54 72 65 61 |s a" of |wd "Trea|
|00001c50| 73 75 72 65 73 22 20 69 | 6e 74 6f 20 77 65 61 70 |sures" i|nto weap|
|00001c60| 6f 6e 0d 69 66 20 73 75 | 62 74 79 70 65 20 3e 3d |on.if su|btype >=|
|00001c70| 34 20 61 6e 64 20 73 75 | 62 74 79 70 65 20 3c 3d |4 and su|btype <=|
|00001c80| 36 20 74 68 65 6e 20 70 | 75 74 20 61 6e 79 20 6c |6 then p|ut any l|
|00001c90| 69 6e 65 20 6f 66 20 63 | 64 20 66 6c 64 20 22 57 |ine of c|d fld "W|
|00001ca0| 65 61 70 6f 6e 73 20 42 | 22 20 6f 66 20 77 64 20 |eapons B|" of wd |
|00001cb0| 22 54 72 65 61 73 75 72 | 65 73 22 20 69 6e 74 6f |"Treasur|es" into|
|00001cc0| 20 77 65 61 70 6f 6e 0d | 69 66 20 77 65 61 70 6f | weapon.|if weapo|
|00001cd0| 6e 20 3d 20 22 53 70 65 | 63 69 61 6c 22 20 74 68 |n = "Spe|cial" th|
|00001ce0| 65 6e 0d 70 75 74 20 74 | 68 65 20 72 61 6e 64 6f |en.put t|he rando|
|00001cf0| 6d 20 6f 66 20 31 30 20 | 69 6e 74 6f 20 73 75 62 |m of 10 |into sub|
|00001d00| 77 65 61 70 6f 6e 0d 69 | 66 20 73 75 62 77 65 61 |weapon.i|f subwea|
|00001d10| 70 6f 6e 20 3e 3d 31 20 | 61 6e 64 20 73 75 62 77 |pon >=1 |and subw|
|00001d20| 65 61 70 6f 6e 20 3c 3d | 33 20 74 68 65 6e 20 70 |eapon <=|3 then p|
|00001d30| 75 74 20 61 6e 79 20 6c | 69 6e 65 20 6f 66 20 63 |ut any l|ine of c|
|00001d40| 64 20 66 6c 64 20 22 53 | 70 65 63 69 61 6c 20 57 |d fld "S|pecial W|
|00001d50| 65 61 70 6f 6e 73 20 61 | 22 20 6f 66 20 77 64 20 |eapons a|" of wd |
|00001d60| 22 54 72 65 61 73 75 72 | 65 73 22 20 26 20 63 72 |"Treasur|es" & cr|
|00001d70| 20 61 66 74 65 72 20 6d | 61 67 69 63 74 61 6c 6c | after m|agictall|
|00001d80| 79 0d 69 66 20 73 75 62 | 77 65 61 70 6f 6e 20 3e |y.if sub|weapon >|
|00001d90| 3d 34 20 61 6e 64 20 73 | 75 62 77 65 61 70 6f 6e |=4 and s|ubweapon|
|00001da0| 20 3c 3d 36 20 74 68 65 | 6e 20 70 75 74 20 61 6e | <=6 the|n put an|
|00001db0| 79 20 6c 69 6e 65 20 6f | 66 20 63 64 20 66 6c 64 |y line o|f cd fld|
|00001dc0| 20 22 53 70 65 63 69 61 | 6c 20 57 65 61 70 6f 6e | "Specia|l Weapon|
|00001dd0| 73 20 42 22 20 6f 66 20 | 77 64 20 22 54 72 65 61 |s B" of |wd "Trea|
|00001de0| 73 75 72 65 73 22 20 26 | 20 63 72 20 61 66 74 65 |sures" &| cr afte|
|00001df0| 72 20 6d 61 67 69 63 74 | 61 6c 6c 79 0d 69 66 20 |r magict|ally.if |
|00001e00| 73 75 62 77 65 61 70 6f | 6e 20 3e 3d 37 20 61 6e |subweapo|n >=7 an|
|00001e10| 64 20 73 75 62 77 65 61 | 70 6f 6e 20 3c 3d 39 20 |d subwea|pon <=9 |
|00001e20| 74 68 65 6e 20 70 75 74 | 20 61 6e 79 20 6c 69 6e |then put| any lin|
|00001e30| 65 20 6f 66 20 63 64 20 | 66 6c 64 20 22 53 70 65 |e of cd |fld "Spe|
|00001e40| 63 69 61 6c 20 57 65 61 | 70 6f 6e 73 20 43 22 20 |cial Wea|pons C" |
|00001e50| 6f 66 20 77 64 20 22 54 | 72 65 61 73 75 72 65 73 |of wd "T|reasures|
|00001e60| 22 20 26 20 63 72 20 61 | 66 74 65 72 20 6d 61 67 |" & cr a|fter mag|
|00001e70| 69 63 74 61 6c 6c 79 0d | 69 66 20 73 75 62 77 65 |ictally.|if subwe|
|00001e80| 61 70 6f 6e 20 3d 31 30 | 20 74 68 65 6e 20 70 75 |apon =10| then pu|
|00001e90| 74 20 61 6e 79 20 6c 69 | 6e 65 20 6f 66 20 63 64 |t any li|ne of cd|
|00001ea0| 20 66 6c 64 20 22 53 70 | 65 63 69 61 6c 20 57 65 | fld "Sp|ecial We|
|00001eb0| 61 70 6f 6e 73 20 44 22 | 20 6f 66 20 77 64 20 22 |apons D"| of wd "|
|00001ec0| 54 72 65 61 73 75 72 65 | 73 22 20 26 20 63 72 20 |Treasure|s" & cr |
|00001ed0| 61 66 74 65 72 20 6d 61 | 67 69 63 74 61 6c 6c 79 |after ma|gictally|
|00001ee0| 0d 65 6e 64 20 69 66 0d | 69 66 20 77 65 61 70 6f |.end if.|if weapo|
|00001ef0| 6e 20 3c 3e 20 22 53 70 | 65 63 69 61 6c 22 20 74 |n <> "Sp|ecial" t|
|00001f00| 68 65 6e 20 70 75 74 20 | 77 65 61 70 6f 6e 20 26 |hen put |weapon &|
|00001f10| 26 20 61 6e 79 20 6c 69 | 6e 65 20 6f 66 20 63 64 |& any li|ne of cd|
|00001f20| 20 66 6c 64 20 22 57 65 | 61 70 6f 6e 20 61 64 6a | fld "We|apon adj|
|00001f30| 22 20 6f 66 20 77 64 20 | 22 54 72 65 61 73 75 72 |" of wd |"Treasur|
|00001f40| 65 73 22 20 26 20 63 72 | 20 61 66 74 65 72 20 6d |es" & cr| after m|
|00001f50| 61 67 69 63 74 61 6c 6c | 79 0d 65 6e 64 20 69 66 |agictall|y.end if|
|00001f60| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00001f70| 6d 61 67 69 63 49 74 65 | 6d 73 0d 00 00 04 00 09 |magicIte|ms......|
|00001f80| 00 02 00 0d 00 00 00 00 | 00 00 00 29 00 03 02 6d |........|...)...m|
|00001f90| 03 3d 00 00 00 0f 54 72 | 65 61 73 75 72 65 20 52 |.=....Tr|easure R|
|00001fa0| 6f 6c 6c 65 72 74 72 20 | 00 00 16 74 61 63 74 65 |ollertr |...tacte|
|00001fb0| 72 73 22 29 20 74 68 65 | 6e 20 70 75 74 20 22 50 |rs") the|n put "P|
|00001fc0| 00 00 01 0b 00 00 00 4a | 00 00 00 80 00 08 00 00 |.......J|........|
|00001fd0| 00 00 01 2c 01 77 00 00 | 00 00 00 00 00 00 00 00 |...,.w..|........|
|00001fe0| 00 00 00 fa 00 1d 81 b8 | 00 1d 81 c8 00 1d 81 bc |........|........|
|00001ff0| 00 00 00 18 0d 00 00 04 | 00 09 00 02 00 00 00 00 |........|........|
|00002000| 00 00 00 00 00 3c 00 14 | 01 42 01 ec 00 00 00 02 |.....<..|.B......|
|00002010| 00 00 00 00 00 00 00 16 | 80 00 00 18 00 00 a8 00 |........|........|
|00002020| 00 00 00 04 00 00 00 64 | 13 d6 22 2b 00 00 00 00 |.......d|.."+....|
|00002030| 80 00 08 1c 00 00 a5 2c | 0c 30 00 1b 4e 75 4e 56 |.......,|.0..NuNV|
|00002040| 00 00 00 f9 00 00 00 42 | 00 00 00 80 00 02 00 00 |.......B|........|
|00002050| 00 fa 00 00 01 0b 00 00 | 00 68 00 00 00 64 67 cb |........|.h...dg.|
|00002060| 84 48 00 00 00 00 00 00 | 00 00 00 00 c1 9f 8a 37 |.H......|.......7|
|00002070| dc 1e a6 5f 15 1a ae a7 | 9b c0 0d 03 00 09 2f c8 |..._....|....../.|
|00002080| 6f 06 5f 37 c1 26 48 37 | 46 3d 42 5a b9 80 00 00 |o._7.&H7|F=BZ....|
|00002090| 82 00 00 28 00 00 a7 ac | 00 01 00 00 00 00 00 00 |...(....|........|
|000020a0| 00 1f 00 00 00 3c 00 16 | a3 80 00 16 a3 c0 00 16 |.....<..|........|
|000020b0| a3 8c 00 16 a3 a0 20 20 | 82 00 00 8c 00 00 a7 6c |...... |.......l|
|000020c0| 00 00 00 12 00 00 60 c0 | 00 00 61 00 00 08 00 00 |......`.|..a.....|
|000020d0| 00 00 02 5d 03 40 00 00 | 00 00 00 00 00 00 00 00 |...].@..|........|
|000020e0| 00 00 00 11 00 1d 81 94 | 00 1d 81 a4 00 1d 81 98 |........|........|
|000020f0| 00 00 60 8e 6f 6e 20 64 | 6f 41 62 69 6c 0d 67 6c |..`.on d|oAbil.gl|
|00002100| 6f 62 61 6c 20 6e 65 77 | 61 62 69 6c 0d 70 75 74 |obal new|abil.put|
|00002110| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 6e 65 77 61 | empty i|nto newa|
|00002120| 62 69 6c 0d 70 75 74 20 | 22 22 20 69 6e 74 6f 20 |bil.put |"" into |
|00002130| 64 65 6c 65 74 65 64 0d | 70 75 74 20 74 68 65 20 |deleted.|put the |
|00002140| 72 61 6e 64 6f 6d 20 6f | 66 20 36 20 69 6e 74 6f |random o|f 6 into|
|00002150| 20 61 62 69 6c 31 0d 70 | 75 74 20 74 68 65 20 72 | abil1.p|ut the r|
|00002160| 61 6e 64 6f 6d 20 6f 66 | 20 36 20 69 6e 74 6f 20 |andom of| 6 into |
|00002170| 61 62 69 6c 32 0d 70 75 | 74 20 74 68 65 20 72 61 |abil2.pu|t the ra|
|00002180| 6e 64 6f 6d 20 6f 66 20 | 36 20 69 6e 74 6f 20 61 |ndom of |6 into a|
|00002190| 62 69 6c 33 0d 70 75 74 | 20 74 68 65 20 72 61 6e |bil3.put| the ran|
|000021a0| 64 6f 6d 20 6f 66 20 36 | 20 69 6e 74 6f 20 61 62 |dom of 6| into ab|
|000021b0| 69 6c 34 0d 70 75 74 20 | 61 62 69 6c 31 20 26 20 |il4.put |abil1 & |
|000021c0| 22 2c 22 20 26 20 61 62 | 69 6c 32 20 26 20 22 2c |"," & ab|il2 & ",|
|000021d0| 22 20 26 20 61 62 69 6c | 33 20 26 20 22 2c 22 20 |" & abil|3 & "," |
|000021e0| 26 20 61 62 69 6c 34 20 | 69 6e 74 6f 20 61 62 69 |& abil4 |into abi|
|000021f0| 6c 63 6f 6d 70 61 72 65 | 0d 70 75 74 20 6d 69 6e |lcompare|.put min|
|00002200| 28 61 62 69 6c 63 6f 6d | 70 61 72 65 29 20 69 6e |(abilcom|pare) in|
|00002210| 74 6f 20 6c 6f 77 65 73 | 74 0d 69 66 20 69 74 65 |to lowes|t.if ite|
|00002220| 6d 20 6f 6e 65 20 6f 66 | 20 61 62 69 6c 63 6f 6d |m one of| abilcom|
|00002230| 70 61 72 65 20 3d 20 6c | 6f 77 65 73 74 20 74 68 |pare = l|owest th|
|00002240| 65 6e 0d 64 65 6c 65 74 | 65 20 69 74 65 6d 20 6f |en.delet|e item o|
|00002250| 6e 65 20 6f 66 20 61 62 | 69 6c 63 6f 6d 70 61 72 |ne of ab|ilcompar|
|00002260| 65 0d 70 75 74 20 22 79 | 65 73 22 20 69 6e 74 6f |e.put "y|es" into|
|00002270| 20 64 65 6c 65 74 65 64 | 0d 65 6e 64 20 69 66 0d | deleted|.end if.|
|00002280| 69 66 20 69 74 65 6d 20 | 74 77 6f 20 6f 66 20 61 |if item |two of a|
|00002290| 62 69 6c 63 6f 6d 70 61 | 72 65 20 3d 20 6c 6f 77 |bilcompa|re = low|
|000022a0| 65 73 74 20 61 6e 64 20 | 64 65 6c 65 74 65 64 20 |est and |deleted |
|000022b0| 3c 3e 20 22 79 65 73 22 | 20 74 68 65 6e 0d 64 65 |<> "yes"| then.de|
|000022c0| 6c 65 74 65 20 69 74 65 | 6d 20 74 77 6f 20 6f 66 |lete ite|m two of|
|000022d0| 20 61 62 69 6c 63 6f 6d | 70 61 72 65 0d 70 75 74 | abilcom|pare.put|
|000022e0| 20 22 79 65 73 22 20 69 | 6e 74 6f 20 64 65 6c 65 | "yes" i|nto dele|
|000022f0| 74 65 64 0d 65 6e 64 20 | 69 66 0d 69 66 20 69 74 |ted.end |if.if it|
|00002300| 65 6d 20 74 68 72 65 65 | 20 6f 66 20 61 62 69 6c |em three| of abil|
|00002310| 63 6f 6d 70 61 72 65 20 | 3d 20 6c 6f 77 65 73 74 |compare |= lowest|
|00002320| 20 61 6e 64 20 64 65 6c | 65 74 65 64 20 3c 3e 20 | and del|eted <> |
|00002330| 22 79 65 73 22 20 74 68 | 65 6e 0d 64 65 6c 65 74 |"yes" th|en.delet|
|00002340| 65 20 69 74 65 6d 20 74 | 68 72 65 65 20 6f 66 20 |e item t|hree of |
|00002350| 61 62 69 6c 63 6f 6d 70 | 61 72 65 0d 70 75 74 20 |abilcomp|are.put |
|00002360| 22 79 65 73 22 20 69 6e | 74 6f 20 64 65 6c 65 74 |"yes" in|to delet|
|00002370| 65 64 0d 65 6e 64 20 69 | 66 0d 69 66 20 69 74 65 |ed.end i|f.if ite|
|00002380| 6d 20 66 6f 75 72 20 6f | 66 20 61 62 69 6c 63 6f |m four o|f abilco|
|00002390| 6d 70 61 72 65 20 3d 20 | 6c 6f 77 65 73 74 20 61 |mpare = |lowest a|
|000023a0| 6e 64 20 64 65 6c 65 74 | 65 64 20 3c 3e 20 22 79 |nd delet|ed <> "y|
|000023b0| 65 73 22 20 74 68 65 6e | 0d 64 65 6c 65 74 65 20 |es" then|.delete |
|000023c0| 69 74 65 6d 20 66 6f 75 | 72 20 6f 66 20 61 62 69 |item fou|r of abi|
|000023d0| 6c 63 6f 6d 70 61 72 65 | 0d 65 6e 64 20 69 66 0d |lcompare|.end if.|
|000023e0| 61 64 64 20 69 74 65 6d | 20 6f 6e 65 20 6f 66 20 |add item| one of |
|000023f0| 61 62 69 6c 63 6f 6d 70 | 61 72 65 20 74 6f 20 6e |abilcomp|are to n|
|00002400| 65 77 61 62 69 6c 0d 61 | 64 64 20 69 74 65 6d 20 |ewabil.a|dd item |
|00002410| 74 77 6f 20 6f 66 20 61 | 62 69 6c 63 6f 6d 70 61 |two of a|bilcompa|
|00002420| 72 65 20 74 6f 20 6e 65 | 77 61 62 69 6c 0d 61 64 |re to ne|wabil.ad|
|00002430| 64 20 69 74 65 6d 20 74 | 68 72 65 65 20 6f 66 20 |d item t|hree of |
|00002440| 61 62 69 6c 63 6f 6d 70 | 61 72 65 20 74 6f 20 6e |abilcomp|are to n|
|00002450| 65 77 61 62 69 6c 0d 65 | 6e 64 20 64 6f 41 62 69 |ewabil.e|nd doAbi|
|00002460| 6c 0d 0d 6f 6e 20 64 6f | 54 75 72 6e 0d 67 6c 6f |l..on do|Turn.glo|
|00002470| 62 61 6c 20 74 75 72 6e | 69 6e 67 2c 63 6c 61 73 |bal turn|ing,clas|
|00002480| 73 2c 6c 65 76 65 6c 0d | 69 66 20 63 6c 61 73 73 |s,level.|if class|
|00002490| 20 3d 20 22 43 6c 65 72 | 69 63 22 20 61 6e 64 20 | = "Cler|ic" and |
|000024a0| 6c 65 76 65 6c 20 3d 20 | 31 20 6f 72 20 63 6c 61 |level = |1 or cla|
|000024b0| 73 73 20 3d 20 22 50 61 | 6c 61 64 69 6e 22 20 61 |ss = "Pa|ladin" a|
|000024c0| 6e 64 20 6c 65 76 65 6c | 20 3d 20 33 20 74 68 65 |nd level| = 3 the|
|000024d0| 6e 20 70 75 74 20 22 31 | 30 2c 31 33 2c 31 36 2c |n put "1|0,13,16,|
|000024e0| 31 39 2c 32 30 2c 2d 2c | 2d 2c 2d 2c 2d 2c 2d 2c |19,20,-,|-,-,-,-,|
|000024f0| 2d 2c 2d 2c 2d 22 20 69 | 6e 74 6f 20 74 75 72 6e |-,-,-" i|nto turn|
|00002500| 69 6e 67 0d 69 66 20 63 | 6c 61 73 73 20 3d 20 22 |ing.if c|lass = "|
|00002510| 43 6c 65 72 69 63 22 20 | 61 6e 64 20 6c 65 76 65 |Cleric" |and leve|
|00002520| 6c 20 3d 20 32 20 6f 72 | 20 63 6c 61 73 73 20 3d |l = 2 or| class =|
|00002530| 20 22 50 61 6c 61 64 69 | 6e 22 20 61 6e 64 20 6c | "Paladi|n" and l|
|00002540| 65 76 65 6c 20 3d 20 34 | 20 74 68 65 6e 20 70 75 |evel = 4| then pu|
|00002550| 74 20 22 37 2c 31 30 2c | 31 33 2c 31 36 2c 31 39 |t "7,10,|13,16,19|
|00002560| 2c 32 30 2c 2d 2c 2d 2c | 2d 2c 2d 2c 2d 2c 2d 2c |,20,-,-,|-,-,-,-,|
|00002570| 2d 22 20 69 6e 74 6f 20 | 74 75 72 6e 69 6e 67 0d |-" into |turning.|
|00002580| 69 66 20 63 6c 61 73 73 | 20 3d 20 22 43 6c 65 72 |if class| = "Cler|
|00002590| 69 63 22 20 61 6e 64 20 | 6c 65 76 65 6c 20 3d 20 |ic" and |level = |
|000025a0| 33 20 6f 72 20 63 6c 61 | 73 73 20 3d 20 22 50 61 |3 or cla|ss = "Pa|
|000025b0| 6c 61 64 69 6e 22 20 61 | 6e 64 20 6c 65 76 65 6c |ladin" a|nd level|
|000025c0| 20 3d 20 35 20 74 68 65 | 6e 20 70 75 74 20 22 34 | = 5 the|n put "4|
|000025d0| 2c 37 2c 31 30 2c 31 33 | 2c 31 36 2c 31 39 2c 32 |,7,10,13|,16,19,2|
|000025e0| 30 2c 2d 2c 2d 2c 2d 2c | 2d 2c 2d 2c 2d 22 20 69 |0,-,-,-,|-,-,-" i|
|000025f0| 6e 74 6f 20 74 75 72 6e | 69 6e 67 0d 69 66 20 63 |nto turn|ing.if c|
|00002600| 6c 61 73 73 20 3d 20 22 | 43 6c 65 72 69 63 22 20 |lass = "|Cleric" |
|00002610| 61 6e 64 20 6c 65 76 65 | 6c 20 3d 20 34 20 6f 72 |and leve|l = 4 or|
|00002620| 20 63 6c 61 73 73 20 3d | 20 22 50 61 6c 61 64 69 | class =| "Paladi|
|00002630| 6e 22 20 61 6e 64 20 6c | 65 76 65 6c 20 3d 20 36 |n" and l|evel = 6|
|00002640| 20 74 68 65 6e 20 70 75 | 74 20 22 54 2c 34 2c 37 | then pu|t "T,4,7|
|00002650| 2c 31 30 2c 31 33 2c 31 | 36 2c 31 39 2c 32 30 2c |,10,13,1|6,19,20,|
|00002660| 2d 2c 2d 2c 2d 2c 2d 2c | 2d 22 20 69 6e 74 6f 20 |-,-,-,-,|-" into |
|00002670| 74 75 72 6e 69 6e 67 0d | 69 66 20 63 6c 61 73 73 |turning.|if class|
|00002680| 20 3d 20 22 43 6c 65 72 | 69 63 22 20 61 6e 64 20 | = "Cler|ic" and |
|00002690| 6c 65 76 65 6c 20 3d 20 | 35 20 6f 72 20 63 6c 61 |level = |5 or cla|
|000026a0| 73 73 20 3d 20 22 50 61 | 6c 61 64 69 6e 22 20 61 |ss = "Pa|ladin" a|
|000026b0| 6e 64 20 6c 65 76 65 6c | 20 3d 20 37 20 74 68 65 |nd level| = 7 the|
|000026c0| 6e 20 70 75 74 20 22 54 | 2c 54 2c 34 2c 37 2c 31 |n put "T|,T,4,7,1|
|000026d0| 30 2c 31 33 2c 31 36 2c | 31 39 2c 32 30 2c 2d 2c |0,13,16,|19,20,-,|
|000026e0| 2d 2c 2d 2c 2d 22 20 69 | 6e 74 6f 20 74 75 72 6e |-,-,-" i|nto turn|
|000026f0| 69 6e 67 0d 69 66 20 63 | 6c 61 73 73 20 3d 20 22 |ing.if c|lass = "|
|00002700| 43 6c 65 72 69 63 22 20 | 61 6e 64 20 6c 65 76 65 |Cleric" |and leve|
|00002710| 6c 20 3d 20 36 20 6f 72 | 20 63 6c 61 73 73 20 3d |l = 6 or| class =|
|00002720| 20 22 50 61 6c 61 64 69 | 6e 22 20 61 6e 64 20 6c | "Paladi|n" and l|
|00002730| 65 76 65 6c 20 3d 20 38 | 20 74 68 65 6e 20 70 75 |evel = 8| then pu|
|00002740| 74 20 22 44 2c 54 2c 54 | 2c 34 2c 37 2c 31 30 2c |t "D,T,T|,4,7,10,|
|00002750| 31 33 2c 31 36 2c 31 39 | 2c 32 30 2c 2d 2c 2d 2c |13,16,19|,20,-,-,|
|00002760| 2d 22 20 69 6e 74 6f 20 | 74 75 72 6e 69 6e 67 0d |-" into |turning.|
|00002770| 69 66 20 63 6c 61 73 73 | 20 3d 20 22 43 6c 65 72 |if class| = "Cler|
|00002780| 69 63 22 20 61 6e 64 20 | 6c 65 76 65 6c 20 3d 20 |ic" and |level = |
|00002790| 37 20 6f 72 20 63 6c 61 | 73 73 20 3d 20 22 50 61 |7 or cla|ss = "Pa|
|000027a0| 6c 61 64 69 6e 22 20 61 | 6e 64 20 6c 65 76 65 6c |ladin" a|nd level|
|000027b0| 20 3d 20 39 20 74 68 65 | 6e 20 70 75 74 20 22 44 | = 9 the|n put "D|
|000027c0| 2c 44 2c 54 2c 54 2c 34 | 2c 37 2c 31 30 2c 31 33 |,D,T,T,4|,7,10,13|
|000027d0| 2c 31 36 2c 31 39 2c 32 | 30 2c 2d 2c 2d 22 20 69 |,16,19,2|0,-,-" i|
|000027e0| 6e 74 6f 20 74 75 72 6e | 69 6e 67 0d 69 66 20 63 |nto turn|ing.if c|
|000027f0| 6c 61 73 73 20 3d 20 22 | 43 6c 65 72 69 63 22 20 |lass = "|Cleric" |
|00002800| 61 6e 64 20 6c 65 76 65 | 6c 20 3d 20 38 20 6f 72 |and leve|l = 8 or|
|00002810| 20 63 6c 61 73 73 20 3d | 20 22 50 61 6c 61 64 69 | class =| "Paladi|
|00002820| 6e 22 20 61 6e 64 20 6c | 65 76 65 6c 20 3d 20 31 |n" and l|evel = 1|
|00002830| 30 20 74 68 65 6e 20 70 | 75 74 20 22 44 2a 2c 44 |0 then p|ut "D*,D|
|00002840| 2c 44 2c 54 2c 54 2c 34 | 2c 37 2c 31 30 2c 31 33 |,D,T,T,4|,7,10,13|
|00002850| 2c 31 36 2c 31 39 2c 32 | 30 2c 2d 22 20 69 6e 74 |,16,19,2|0,-" int|
|00002860| 6f 20 74 75 72 6e 69 6e | 67 0d 69 66 20 63 6c 61 |o turnin|g.if cla|
|00002870| 73 73 20 3d 20 22 43 6c | 65 72 69 63 22 20 61 6e |ss = "Cl|eric" an|
|00002880| 64 20 6c 65 76 65 6c 20 | 3d 20 39 20 6f 72 20 63 |d level |= 9 or c|
|00002890| 6c 61 73 73 20 3d 20 22 | 50 61 6c 61 64 69 6e 22 |lass = "|Paladin"|
|000028a0| 20 61 6e 64 20 6c 65 76 | 65 6c 20 3d 20 31 31 20 | and lev|el = 11 |
|000028b0| 74 68 65 6e 20 70 75 74 | 20 22 44 2a 2c 44 2a 2c |then put| "D*,D*,|
|000028c0| 44 2c 44 2c 54 2c 54 2c | 34 2c 37 2c 31 30 2c 31 |D,D,T,T,|4,7,10,1|
|000028d0| 33 2c 31 36 2c 31 39 2c | 32 30 22 20 69 6e 74 6f |3,16,19,|20" into|
|000028e0| 20 74 75 72 6e 69 6e 67 | 0d 69 66 20 63 6c 61 73 | turning|.if clas|
|000028f0| 73 20 3d 20 22 43 6c 65 | 72 69 63 22 20 61 6e 64 |s = "Cle|ric" and|
|00002900| 20 6c 65 76 65 6c 20 3d | 20 31 30 20 6f 72 20 6c | level =| 10 or l|
|00002910| 65 76 65 6c 20 3d 20 31 | 31 20 74 68 65 6e 20 70 |evel = 1|1 then p|
|00002920| 75 74 20 22 44 2a 2c 44 | 2a 2c 44 2a 2c 44 2c 44 |ut "D*,D|*,D*,D,D|
|00002930| 2c 54 2c 54 2c 34 2c 37 | 2c 31 30 2c 31 33 2c 31 |,T,T,4,7|,10,13,1|
|00002940| 36 2c 31 39 22 20 69 6e | 74 6f 20 74 75 72 6e 69 |6,19" in|to turni|
|00002950| 6e 67 0d 69 66 20 63 6c | 61 73 73 20 3d 20 22 50 |ng.if cl|ass = "P|
|00002960| 61 6c 61 64 69 6e 22 20 | 61 6e 64 20 6c 65 76 65 |aladin" |and leve|
|00002970| 6c 20 3d 20 31 32 20 6f | 72 20 6c 65 76 65 6c 20 |l = 12 o|r level |
|00002980| 3d 20 31 33 20 74 68 65 | 6e 20 70 75 74 20 22 44 |= 13 the|n put "D|
|00002990| 2a 2c 44 2a 2c 44 2a 2c | 44 2c 44 2c 54 2c 54 2c |*,D*,D*,|D,D,T,T,|
|000029a0| 34 2c 37 2c 31 30 2c 31 | 33 2c 31 36 2c 31 39 22 |4,7,10,1|3,16,19"|
|000029b0| 20 69 6e 74 6f 20 74 75 | 72 6e 69 6e 67 0d 69 66 | into tu|rning.if|
|000029c0| 20 63 6c 61 73 73 20 3d | 20 22 43 6c 65 72 69 63 | class =| "Cleric|
|000029d0| 22 20 61 6e 64 20 6c 65 | 76 65 6c 20 3d 20 31 32 |" and le|vel = 12|
|000029e0| 20 6f 72 20 6c 65 76 65 | 6c 20 3d 20 31 33 20 74 | or leve|l = 13 t|
|000029f0| 68 65 6e 20 70 75 74 20 | 22 44 2a 2c 44 2a 2c 44 |hen put |"D*,D*,D|
|00002a00| 2a 2c 44 2a 2c 44 2c 44 | 2c 54 2c 54 2c 34 2c 37 |*,D*,D,D|,T,T,4,7|
|00002a10| 2c 31 30 2c 31 33 2c 31 | 36 22 20 69 6e 74 6f 20 |,10,13,1|6" into |
|00002a20| 74 75 72 6e 69 6e 67 0d | 69 66 20 63 6c 61 73 73 |turning.|if class|
|00002a30| 20 3d 20 22 50 61 6c 61 | 64 69 6e 22 20 61 6e 64 | = "Pala|din" and|
|00002a40| 20 6c 65 76 65 6c 20 3d | 20 31 34 20 6f 72 20 6c | level =| 14 or l|
|00002a50| 65 76 65 6c 20 3d 20 31 | 35 20 74 68 65 6e 20 70 |evel = 1|5 then p|
|00002a60| 75 74 20 22 44 2a 2c 44 | 2a 2c 44 2a 2c 44 2a 2c |ut "D*,D|*,D*,D*,|
|00002a70| 44 2c 44 2c 54 2c 54 2c | 34 2c 37 2c 31 30 2c 31 |D,D,T,T,|4,7,10,1|
|00002a80| 33 2c 31 36 22 20 69 6e | 74 6f 20 74 75 72 6e 69 |3,16" in|to turni|
|00002a90| 6e 67 0d 69 66 20 63 6c | 61 73 73 20 3d 20 22 43 |ng.if cl|ass = "C|
|00002aa0| 6c 65 72 69 63 22 20 61 | 6e 64 20 6c 65 76 65 6c |leric" a|nd level|
|00002ab0| 20 3e 3d 31 34 20 6f 72 | 20 63 6c 61 73 73 20 3d | >=14 or| class =|
|00002ac0| 20 22 50 61 6c 61 64 69 | 6e 22 20 61 6e 64 20 6c | "Paladi|n" and l|
|00002ad0| 65 76 65 6c 20 3e 3d 31 | 36 20 74 68 65 6e 20 70 |evel >=1|6 then p|
|00002ae0| 75 74 20 22 44 2a 2c 44 | 2a 2c 44 2a 2c 44 2a 2c |ut "D*,D|*,D*,D*,|
|00002af0| 44 2a 2c 44 2c 44 2c 54 | 2c 54 2c 34 2c 37 2c 31 |D*,D,D,T|,T,4,7,1|
|00002b00| 30 2c 31 33 22 20 69 6e | 74 6f 20 74 75 72 6e 69 |0,13" in|to turni|
|00002b10| 6e 67 0d 65 6e 64 20 64 | 6f 54 75 72 6e 0d 0d 6f |ng.end d|oTurn..o|
|00002b20| 6e 20 68 69 74 50 6f 69 | 6e 74 73 0d 67 6c 6f 62 |n hitPoi|nts.glob|
|00002b30| 61 6c 20 63 6c 61 73 73 | 2c 6c 65 76 65 6c 2c 70 |al class|,level,p|
|00002b40| 6f 69 6e 74 73 2c 63 6f | 6e 73 74 69 74 75 74 69 |oints,co|nstituti|
|00002b50| 6f 6e 2c 67 72 6f 75 70 | 0d 70 75 74 20 30 20 69 |on,group|.put 0 i|
|00002b60| 6e 74 6f 20 70 6f 69 6e | 74 73 0d 70 75 74 20 30 |nto poin|ts.put 0|
|00002b70| 20 69 6e 74 6f 20 62 6f | 6e 75 73 0d 70 75 74 20 | into bo|nus.put |
|00002b80| 77 6f 72 64 20 6f 6e 65 | 20 6f 66 20 63 6f 6e 73 |word one| of cons|
|00002b90| 74 69 74 75 74 69 6f 6e | 20 69 6e 74 6f 20 63 6f |titution| into co|
|00002ba0| 6e 73 0d 69 66 20 63 6f | 6e 73 20 3d 20 32 20 74 |ns.if co|ns = 2 t|
|00002bb0| 68 65 6e 20 70 75 74 20 | 2d 32 20 69 6e 74 6f 20 |hen put |-2 into |
|00002bc0| 62 6f 6e 75 73 0d 69 66 | 20 63 6f 6e 73 20 3d 20 |bonus.if| cons = |
|00002bd0| 33 20 74 68 65 6e 20 70 | 75 74 20 2d 32 20 69 6e |3 then p|ut -2 in|
|00002be0| 74 6f 20 62 6f 6e 75 73 | 0d 69 66 20 63 6f 6e 73 |to bonus|.if cons|
|00002bf0| 20 3d 20 34 20 74 68 65 | 6e 20 70 75 74 20 2d 31 | = 4 the|n put -1|
|00002c00| 20 69 6e 74 6f 20 62 6f | 6e 75 73 0d 69 66 20 63 | into bo|nus.if c|
|00002c10| 6f 6e 73 20 3d 20 35 20 | 74 68 65 6e 20 70 75 74 |ons = 5 |then put|
|00002c20| 20 2d 31 20 69 6e 74 6f | 20 62 6f 6e 75 73 0d 69 | -1 into| bonus.i|
|00002c30| 66 20 63 6f 6e 73 20 3d | 20 36 20 74 68 65 6e 20 |f cons =| 6 then |
|00002c40| 70 75 74 20 2d 31 20 69 | 6e 74 6f 20 62 6f 6e 75 |put -1 i|nto bonu|
|00002c50| 73 0d 69 66 20 63 6f 6e | 73 20 3d 20 31 35 20 74 |s.if con|s = 15 t|
|00002c60| 68 65 6e 20 70 75 74 20 | 31 20 69 6e 74 6f 20 62 |hen put |1 into b|
|00002c70| 6f 6e 75 73 0d 69 66 20 | 63 6f 6e 73 20 3d 20 31 |onus.if |cons = 1|
|00002c80| 36 20 74 68 65 6e 20 70 | 75 74 20 32 20 69 6e 74 |6 then p|ut 2 int|
|00002c90| 6f 20 62 6f 6e 75 73 0d | 69 66 20 63 6f 6e 73 20 |o bonus.|if cons |
|00002ca0| 3d 20 31 37 20 6f 72 20 | 63 6f 6e 73 20 3d 20 31 |= 17 or |cons = 1|
|00002cb0| 38 20 6f 72 20 63 6f 6e | 73 20 3d 20 31 39 20 74 |8 or con|s = 19 t|
|00002cc0| 68 65 6e 20 70 75 74 20 | 32 20 69 6e 74 6f 20 62 |hen put |2 into b|
|00002cd0| 6f 6e 75 73 0d 69 66 20 | 67 72 6f 75 70 20 3d 20 |onus.if |group = |
|00002ce0| 22 57 61 72 72 69 6f 72 | 22 20 74 68 65 6e 0d 69 |"Warrior|" then.i|
|00002cf0| 66 20 63 6f 6e 73 20 3d | 20 31 37 20 74 68 65 6e |f cons =| 17 then|
|00002d00| 20 70 75 74 20 33 20 69 | 6e 74 6f 20 62 6f 6e 75 | put 3 i|nto bonu|
|00002d10| 73 0d 69 66 20 63 6f 6e | 73 20 3d 20 31 38 20 74 |s.if con|s = 18 t|
|00002d20| 68 65 6e 20 70 75 74 20 | 34 20 69 6e 74 6f 20 62 |hen put |4 into b|
|00002d30| 6f 6e 75 73 0d 69 66 20 | 63 6f 6e 73 20 3d 20 31 |onus.if |cons = 1|
|00002d40| 39 20 74 68 65 6e 20 70 | 75 74 20 35 20 69 6e 74 |9 then p|ut 5 int|
|00002d50| 6f 20 62 6f 6e 75 73 0d | 69 66 20 6c 65 76 65 6c |o bonus.|if level|
|00002d60| 20 3c 3d 39 20 74 68 65 | 6e 0d 72 65 70 65 61 74 | <=9 the|n.repeat|
|00002d70| 20 66 6f 72 20 6c 65 76 | 65 6c 0d 61 64 64 20 74 | for lev|el.add t|
|00002d80| 68 65 20 72 61 6e 64 6f | 6d 20 6f 66 20 31 30 20 |he rando|m of 10 |
|00002d90| 74 6f 20 70 6f 69 6e 74 | 73 0d 61 64 64 20 62 6f |to point|s.add bo|
|00002da0| 6e 75 73 20 74 6f 20 70 | 6f 69 6e 74 73 0d 65 6e |nus to p|oints.en|
|00002db0| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |d repeat|.end if.|
|00002dc0| 69 66 20 6c 65 76 65 6c | 20 3e 3d 31 30 20 74 68 |if level| >=10 th|
|00002dd0| 65 6e 0d 70 75 74 20 30 | 20 69 6e 74 6f 20 6c 65 |en.put 0| into le|
|00002de0| 76 65 6c 63 68 65 63 6b | 0d 72 65 70 65 61 74 20 |velcheck|.repeat |
|00002df0| 75 6e 74 69 6c 20 6c 65 | 76 65 6c 63 68 65 63 6b |until le|velcheck|
|00002e00| 20 3d 20 39 0d 61 64 64 | 20 31 20 74 6f 20 6c 65 | = 9.add| 1 to le|
|00002e10| 76 65 6c 63 68 65 63 6b | 0d 61 64 64 20 74 68 65 |velcheck|.add the|
|00002e20| 20 72 61 6e 64 6f 6d 20 | 6f 66 20 31 30 20 74 6f | random |of 10 to|
|00002e30| 20 70 6f 69 6e 74 73 0d | 61 64 64 20 62 6f 6e 75 | points.|add bonu|
|00002e40| 73 20 74 6f 20 70 6f 69 | 6e 74 73 0d 65 6e 64 20 |s to poi|nts.end |
|00002e50| 72 65 70 65 61 74 0d 69 | 66 20 6c 65 76 65 6c 20 |repeat.i|f level |
|00002e60| 3d 20 31 30 20 74 68 65 | 6e 20 61 64 64 20 33 20 |= 10 the|n add 3 |
|00002e70| 74 6f 20 70 6f 69 6e 74 | 73 0d 69 66 20 6c 65 76 |to point|s.if lev|
|00002e80| 65 6c 20 3d 20 31 31 20 | 74 68 65 6e 20 61 64 64 |el = 11 |then add|
|00002e90| 20 36 20 74 6f 20 70 6f | 69 6e 74 73 0d 69 66 20 | 6 to po|ints.if |
|00002ea0| 6c 65 76 65 6c 20 3d 20 | 31 32 20 74 68 65 6e 20 |level = |12 then |
|00002eb0| 61 64 64 20 39 20 74 6f | 20 70 6f 69 6e 74 73 0d |add 9 to| points.|
|00002ec0| 69 66 20 6c 65 76 65 6c | 20 3d 20 31 33 20 74 68 |if level| = 13 th|
|00002ed0| 65 6e 20 61 64 64 20 31 | 32 20 74 6f 20 70 6f 69 |en add 1|2 to poi|
|00002ee0| 6e 74 73 0d 69 66 20 6c | 65 76 65 6c 20 3d 20 31 |nts.if l|evel = 1|
|00002ef0| 34 20 74 68 65 6e 20 61 | 64 64 20 31 35 20 74 6f |4 then a|dd 15 to|
|00002f00| 20 70 6f 69 6e 74 73 0d | 69 66 20 6c 65 76 65 6c | points.|if level|
|00002f10| 20 3d 20 31 35 20 74 68 | 65 6e 20 61 64 64 20 31 | = 15 th|en add 1|
|00002f20| 38 20 74 6f 20 70 6f 69 | 6e 74 73 0d 69 66 20 6c |8 to poi|nts.if l|
|00002f30| 65 76 65 6c 20 3d 20 31 | 36 20 74 68 65 6e 20 61 |evel = 1|6 then a|
|00002f40| 64 64 20 32 31 20 74 6f | 20 70 6f 69 6e 74 73 0d |dd 21 to| points.|
|00002f50| 69 66 20 6c 65 76 65 6c | 20 3d 20 31 37 20 74 68 |if level| = 17 th|
|00002f60| 65 6e 20 61 64 64 20 32 | 34 20 74 6f 20 70 6f 69 |en add 2|4 to poi|
|00002f70| 6e 74 73 0d 69 66 20 6c | 65 76 65 6c 20 3d 20 31 |nts.if l|evel = 1|
|00002f80| 38 20 74 68 65 6e 20 61 | 64 64 20 32 37 20 74 6f |8 then a|dd 27 to|
|00002f90| 20 70 6f 69 6e 74 73 0d | 69 66 20 6c 65 76 65 6c | points.|if level|
|00002fa0| 20 3d 20 32 30 20 74 68 | 65 6e 20 61 64 64 20 33 | = 20 th|en add 3|
|00002fb0| 30 20 74 6f 20 70 6f 69 | 6e 74 73 0d 65 6e 64 20 |0 to poi|nts.end |
|00002fc0| 69 66 0d 65 6e 64 20 69 | 66 0d 69 66 20 67 72 6f |if.end i|f.if gro|
|00002fd0| 75 70 20 3d 20 22 57 69 | 7a 61 72 64 22 20 74 68 |up = "Wi|zard" th|
|00002fe0| 65 6e 0d 69 66 20 6c 65 | 76 65 6c 20 3c 3d 20 31 |en.if le|vel <= 1|
|00002ff0| 30 20 74 68 65 6e 0d 72 | 65 70 65 61 74 20 66 6f |0 then.r|epeat fo|
|00003000| 72 20 6c 65 76 65 6c 0d | 61 64 64 20 74 68 65 20 |r level.|add the |
|00003010| 72 61 6e 64 6f 6d 20 6f | 66 20 34 20 74 6f 20 70 |random o|f 4 to p|
|00003020| 6f 69 6e 74 73 0d 61 64 | 64 20 62 6f 6e 75 73 20 |oints.ad|d bonus |
|00003030| 74 6f 20 70 6f 69 6e 74 | 73 0d 65 6e 64 20 72 65 |to point|s.end re|
|00003040| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 69 66 20 6c |peat.end| if.if l|
|00003050| 65 76 65 6c 20 3e 3d 20 | 31 31 20 74 68 65 6e 0d |evel >= |11 then.|
|00003060| 70 75 74 20 30 20 69 6e | 74 6f 20 6c 65 76 65 6c |put 0 in|to level|
|00003070| 63 68 65 63 6b 0d 72 65 | 70 65 61 74 20 75 6e 74 |check.re|peat unt|
|00003080| 69 6c 20 6c 65 76 65 6c | 63 68 65 63 6b 20 3d 20 |il level|check = |
|00003090| 31 30 0d 61 64 64 20 31 | 20 74 6f 20 6c 65 76 65 |10.add 1| to leve|
|000030a0| 6c 63 68 65 63 6b 0d 61 | 64 64 20 74 68 65 20 72 |lcheck.a|dd the r|
|000030b0| 61 6e 64 6f 6d 20 6f 66 | 20 34 20 74 6f 20 70 6f |andom of| 4 to po|
|000030c0| 69 6e 74 73 0d 61 64 64 | 20 62 6f 6e 75 73 20 74 |ints.add| bonus t|
|000030d0| 6f 20 70 6f 69 6e 74 73 | 0d 65 6e 64 20 72 65 70 |o points|.end rep|
|000030e0| 65 61 74 0d 69 66 20 6c | 65 76 65 6c 20 3d 20 31 |eat.if l|evel = 1|
|000030f0| 31 20 74 68 65 6e 20 61 | 64 64 20 31 20 74 6f 20 |1 then a|dd 1 to |
|00003100| 70 6f 69 6e 74 73 0d 69 | 66 20 6c 65 76 65 6c 20 |points.i|f level |
|00003110| 3d 20 31 32 20 74 68 65 | 6e 20 61 64 64 20 32 20 |= 12 the|n add 2 |
|00003120| 74 6f 20 70 6f 69 6e 74 | 73 0d 69 66 20 6c 65 76 |to point|s.if lev|
|00003130| 65 6c 20 3d 20 31 33 20 | 74 68 65 6e 20 61 64 64 |el = 13 |then add|
|00003140| 20 33 20 74 6f 20 70 6f | 69 6e 74 73 0d 69 66 20 | 3 to po|ints.if |
|00003150| 6c 65 76 65 6c 20 3d 20 | 31 34 20 74 68 65 6e 20 |level = |14 then |
|00003160| 61 64 64 20 34 20 74 6f | 20 70 6f 69 6e 74 73 0d |add 4 to| points.|
|00003170| 69 66 20 6c 65 76 65 6c | 20 3d 20 31 35 20 74 68 |if level| = 15 th|
|00003180| 65 6e 20 61 64 64 20 35 | 20 74 6f 20 70 6f 69 6e |en add 5| to poin|
|00003190| 74 73 0d 69 66 20 6c 65 | 76 65 6c 20 3d 20 31 36 |ts.if le|vel = 16|
|000031a0| 20 74 68 65 6e 20 61 64 | 64 20 36 20 74 6f 20 70 | then ad|d 6 to p|
|000031b0| 6f 69 6e 74 73 0d 69 66 | 20 6c 65 76 65 6c 20 3d |oints.if| level =|
|000031c0| 20 31 37 20 74 68 65 6e | 20 61 64 64 20 37 20 74 | 17 then| add 7 t|
|000031d0| 6f 20 70 6f 69 6e 74 73 | 0d 69 66 20 6c 65 76 65 |o points|.if leve|
|000031e0| 6c 20 3d 20 31 38 20 74 | 68 65 6e 20 61 64 64 20 |l = 18 t|hen add |
|000031f0| 38 20 74 6f 20 70 6f 69 | 6e 74 73 0d 69 66 20 6c |8 to poi|nts.if l|
|00003200| 65 76 65 6c 20 3d 20 31 | 39 20 74 68 65 6e 20 61 |evel = 1|9 then a|
|00003210| 64 64 20 39 20 74 6f 20 | 70 6f 69 6e 74 73 0d 69 |dd 9 to |points.i|
|00003220| 66 20 6c 65 76 65 6c 20 | 3d 20 32 30 20 74 68 65 |f level |= 20 the|
|00003230| 6e 20 61 64 64 20 31 30 | 20 74 6f 20 70 6f 69 6e |n add 10| to poin|
|00003240| 74 73 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |ts.end i|f.end if|
|00003250| 0d 69 66 20 67 72 6f 75 | 70 20 3d 20 22 50 72 69 |.if grou|p = "Pri|
|00003260| 65 73 74 22 20 74 68 65 | 6e 0d 69 66 20 6c 65 76 |est" the|n.if lev|
|00003270| 65 6c 20 3c 3d 20 39 20 | 74 68 65 6e 0d 72 65 70 |el <= 9 |then.rep|
|00003280| 65 61 74 20 66 6f 72 20 | 6c 65 76 65 6c 0d 61 64 |eat for |level.ad|
|00003290| 64 20 74 68 65 20 72 61 | 6e 64 6f 6d 20 6f 66 20 |d the ra|ndom of |
|000032a0| 38 20 74 6f 20 70 6f 69 | 6e 74 73 0d 61 64 64 20 |8 to poi|nts.add |
|000032b0| 62 6f 6e 75 73 20 74 6f | 20 70 6f 69 6e 74 73 0d |bonus to| points.|
|000032c0| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |end repe|at.end i|
|000032d0| 66 0d 69 66 20 6c 65 76 | 65 6c 20 3e 3d 20 31 30 |f.if lev|el >= 10|
|000032e0| 20 74 68 65 6e 0d 70 75 | 74 20 30 20 69 6e 74 6f | then.pu|t 0 into|
|000032f0| 20 6c 65 76 65 6c 63 68 | 65 63 6b 0d 72 65 70 65 | levelch|eck.repe|
|00003300| 61 74 20 75 6e 74 69 6c | 20 6c 65 76 65 6c 63 68 |at until| levelch|
|00003310| 65 63 6b 20 3d 20 39 0d | 61 64 64 20 31 20 74 6f |eck = 9.|add 1 to|
|00003320| 20 6c 65 76 65 6c 63 68 | 65 63 6b 0d 61 64 64 20 | levelch|eck.add |
|00003330| 74 68 65 20 72 61 6e 64 | 6f 6d 20 6f 66 20 38 20 |the rand|om of 8 |
|00003340| 74 6f 20 70 6f 69 6e 74 | 73 0d 61 64 64 20 62 6f |to point|s.add bo|
|00003350| 6e 75 73 20 74 6f 20 70 | 6f 69 6e 74 73 0d 65 6e |nus to p|oints.en|
|00003360| 64 20 72 65 70 65 61 74 | 0d 69 66 20 6c 65 76 65 |d repeat|.if leve|
|00003370| 6c 20 3d 20 31 30 20 74 | 68 65 6e 20 61 64 64 20 |l = 10 t|hen add |
|00003380| 32 20 74 6f 20 70 6f 69 | 6e 74 73 0d 69 66 20 6c |2 to poi|nts.if l|
|00003390| 65 76 65 6c 20 3d 20 31 | 31 20 74 68 65 6e 20 61 |evel = 1|1 then a|
|000033a0| 64 64 20 34 20 74 6f 20 | 70 6f 69 6e 74 73 0d 69 |dd 4 to |points.i|
|000033b0| 66 20 6c 65 76 65 6c 20 | 3d 20 31 32 20 74 68 65 |f level |= 12 the|
|000033c0| 6e 20 61 64 64 20 36 20 | 74 6f 20 70 6f 69 6e 74 |n add 6 |to point|
|000033d0| 73 0d 69 66 20 6c 65 76 | 65 6c 20 3d 20 31 33 20 |s.if lev|el = 13 |
|000033e0| 74 68 65 6e 20 61 64 64 | 20 38 20 74 6f 20 70 6f |then add| 8 to po|
|000033f0| 69 6e 74 73 0d 69 66 20 | 6c 65 76 65 6c 20 3d 20 |ints.if |level = |
|00003400| 31 34 20 74 68 65 6e 20 | 61 64 64 20 31 30 20 74 |14 then |add 10 t|
|00003410| 6f 20 70 6f 69 6e 74 73 | 0d 69 66 20 6c 65 76 65 |o points|.if leve|
|00003420| 6c 20 3d 20 31 35 20 74 | 68 65 6e 20 61 64 64 20 |l = 15 t|hen add |
|00003430| 31 32 20 74 6f 20 70 6f | 69 6e 74 73 0d 69 66 20 |12 to po|ints.if |
|00003440| 6c 65 76 65 6c 20 3d 20 | 31 36 20 74 68 65 6e 20 |level = |16 then |
|00003450| 61 64 64 20 31 34 20 74 | 6f 20 70 6f 69 6e 74 73 |add 14 t|o points|
|00003460| 0d 69 66 20 6c 65 76 65 | 6c 20 3d 20 31 37 20 74 |.if leve|l = 17 t|
|00003470| 68 65 6e 20 61 64 64 20 | 31 36 20 74 6f 20 70 6f |hen add |16 to po|
|00003480| 69 6e 74 73 0d 69 66 20 | 6c 65 76 65 6c 20 3d 20 |ints.if |level = |
|00003490| 31 38 20 74 68 65 6e 20 | 61 64 64 20 31 38 20 74 |18 then |add 18 t|
|000034a0| 6f 20 70 6f 69 6e 74 73 | 0d 69 66 20 6c 65 76 65 |o points|.if leve|
|000034b0| 6c 20 3d 20 31 39 20 74 | 68 65 6e 20 61 64 64 20 |l = 19 t|hen add |
|000034c0| 32 30 20 74 6f 20 70 6f | 69 6e 74 73 0d 69 66 20 |20 to po|ints.if |
|000034d0| 6c 65 76 65 6c 20 3d 20 | 32 30 20 74 68 65 6e 20 |level = |20 then |
|000034e0| 61 64 64 20 32 32 20 74 | 6f 20 70 6f 69 6e 74 73 |add 22 t|o points|
|000034f0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 69 |.end if.|end if.i|
|00003500| 66 20 67 72 6f 75 70 20 | 3d 20 22 52 6f 67 75 65 |f group |= "Rogue|
|00003510| 22 20 6f 72 20 63 6c 61 | 73 73 20 3d 20 22 50 73 |" or cla|ss = "Ps|
|00003520| 69 6f 6e 69 63 69 73 74 | 22 20 74 68 65 6e 0d 69 |ionicist|" then.i|
|00003530| 66 20 6c 65 76 65 6c 20 | 3c 3d 20 31 30 20 74 68 |f level |<= 10 th|
|00003540| 65 6e 0d 72 65 70 65 61 | 74 20 66 6f 72 20 6c 65 |en.repea|t for le|
|00003550| 76 65 6c 0d 61 64 64 20 | 74 68 65 20 72 61 6e 64 |vel.add |the rand|
|00003560| 6f 6d 20 6f 66 20 36 20 | 74 6f 20 70 6f 69 6e 74 |om of 6 |to point|
|00003570| 73 0d 61 64 64 20 62 6f | 6e 75 73 20 74 6f 20 70 |s.add bo|nus to p|
|00003580| 6f 69 6e 74 73 0d 65 6e | 64 20 72 65 70 65 61 74 |oints.en|d repeat|
|00003590| 0d 65 6e 64 20 69 66 0d | 69 66 20 6c 65 76 65 6c |.end if.|if level|
|000035a0| 20 3e 3d 20 31 31 20 74 | 68 65 6e 0d 70 75 74 20 | >= 11 t|hen.put |
|000035b0| 30 20 69 6e 74 6f 20 6c | 65 76 65 6c 63 68 65 63 |0 into l|evelchec|
|000035c0| 6b 0d 72 65 70 65 61 74 | 20 75 6e 74 69 6c 20 6c |k.repeat| until l|
|000035d0| 65 76 65 6c 63 68 65 63 | 6b 20 3d 20 31 30 0d 61 |evelchec|k = 10.a|
|000035e0| 64 64 20 31 20 74 6f 20 | 6c 65 76 65 6c 63 68 65 |dd 1 to |levelche|
|000035f0| 63 6b 0d 61 64 64 20 74 | 68 65 20 72 61 6e 64 6f |ck.add t|he rando|
|00003600| 6d 20 6f 66 20 36 20 74 | 6f 20 70 6f 69 6e 74 73 |m of 6 t|o points|
|00003610| 0d 61 64 64 20 62 6f 6e | 75 73 20 74 6f 20 70 6f |.add bon|us to po|
|00003620| 69 6e 74 73 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |ints.end| repeat.|
|00003630| 69 66 20 6c 65 76 65 6c | 20 3d 20 31 31 20 74 68 |if level| = 11 th|
|00003640| 65 6e 20 61 64 64 20 32 | 20 74 6f 20 70 6f 69 6e |en add 2| to poin|
|00003650| 74 73 0d 69 66 20 6c 65 | 76 65 6c 20 3d 20 31 32 |ts.if le|vel = 12|
|00003660| 20 74 68 65 6e 20 61 64 | 64 20 34 20 74 6f 20 70 | then ad|d 4 to p|
|00003670| 6f 69 6e 74 73 0d 69 66 | 20 6c 65 76 65 6c 20 3d |oints.if| level =|
|00003680| 20 31 33 20 74 68 65 6e | 20 61 64 64 20 36 20 74 | 13 then| add 6 t|
|00003690| 6f 20 70 6f 69 6e 74 73 | 0d 69 66 20 6c 65 76 65 |o points|.if leve|
|000036a0| 6c 20 3d 20 31 34 20 74 | 68 65 6e 20 61 64 64 20 |l = 14 t|hen add |
|000036b0| 38 20 74 6f 20 70 6f 69 | 6e 74 73 0d 69 66 20 6c |8 to poi|nts.if l|
|000036c0| 65 76 65 6c 20 3d 20 31 | 35 20 74 68 65 6e 20 61 |evel = 1|5 then a|
|000036d0| 64 64 20 31 30 20 74 6f | 20 70 6f 69 6e 74 73 0d |dd 10 to| points.|
|000036e0| 69 66 20 6c 65 76 65 6c | 20 3d 20 31 36 20 74 68 |if level| = 16 th|
|000036f0| 65 6e 20 61 64 64 20 31 | 32 20 74 6f 20 70 6f 69 |en add 1|2 to poi|
|00003700| 6e 74 73 0d 69 66 20 6c | 65 76 65 6c 20 3d 20 31 |nts.if l|evel = 1|
|00003710| 37 20 74 68 65 6e 20 61 | 64 64 20 31 34 20 74 6f |7 then a|dd 14 to|
|00003720| 20 70 6f 69 6e 74 73 0d | 69 66 20 6c 65 76 65 6c | points.|if level|
|00003730| 20 3d 20 31 38 20 74 68 | 65 6e 20 61 64 64 20 31 | = 18 th|en add 1|
|00003740| 36 20 74 6f 20 70 6f 69 | 6e 74 73 0d 69 66 20 6c |6 to poi|nts.if l|
|00003750| 65 76 65 6c 20 3d 20 31 | 39 20 74 68 65 6e 20 61 |evel = 1|9 then a|
|00003760| 64 64 20 31 38 20 74 6f | 20 70 6f 69 6e 74 73 0d |dd 18 to| points.|
|00003770| 69 66 20 6c 65 76 65 6c | 20 3d 20 32 30 20 74 68 |if level| = 20 th|
|00003780| 65 6e 20 61 64 64 20 32 | 30 20 74 6f 20 70 6f 69 |en add 2|0 to poi|
|00003790| 6e 74 73 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |nts.end |if.end i|
|000037a0| 66 0d 69 66 20 70 6f 69 | 6e 74 73 20 3c 31 20 74 |f.if poi|nts <1 t|
|000037b0| 68 65 6e 20 70 75 74 20 | 31 20 69 6e 74 6f 20 70 |hen put |1 into p|
|000037c0| 6f 69 6e 74 73 0d 65 6e | 64 20 68 69 74 50 6f 69 |oints.en|d hitPoi|
|000037d0| 6e 74 73 0d 0d 6f 6e 20 | 64 6f 53 70 65 6c 6c 73 |nts..on |doSpells|
|000037e0| 0d 67 6c 6f 62 61 6c 20 | 73 70 65 6c 6c 73 2c 6c |.global |spells,l|
|000037f0| 65 76 65 6c 2c 63 6c 61 | 73 73 2c 77 69 73 64 6f |evel,cla|ss,wisdo|
|00003800| 6d 2c 69 6e 74 65 6c 6c | 69 67 65 6e 63 65 2c 67 |m,intell|igence,g|
|00003810| 72 6f 75 70 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |roup.put| empty i|
|00003820| 6e 74 6f 20 73 70 65 6c | 6c 73 0d 69 66 20 63 6c |nto spel|ls.if cl|
|00003830| 61 73 73 20 3d 20 22 50 | 61 6c 61 64 69 6e 22 20 |ass = "P|aladin" |
|00003840| 74 68 65 6e 0d 69 66 20 | 6c 65 76 65 6c 20 3c 39 |then.if |level <9|
|00003850| 20 74 68 65 6e 20 70 75 | 74 20 22 30 2c 30 2c 30 | then pu|t "0,0,0|
|00003860| 2c 30 22 20 69 6e 74 6f | 20 73 70 65 6c 6c 73 0d |,0" into| spells.|
|00003870| 69 66 20 6c 65 76 65 6c | 20 3d 20 39 20 74 68 65 |if level| = 9 the|
|00003880| 6e 20 70 75 74 20 22 31 | 2c 30 2c 30 2c 30 22 20 |n put "1|,0,0,0" |
|00003890| 69 6e 74 6f 20 73 70 65 | 6c 6c 73 0d 69 66 20 6c |into spe|lls.if l|
|000038a0| 65 76 65 6c 20 3d 20 31 | 30 20 74 68 65 6e 20 70 |evel = 1|0 then p|
|000038b0| 75 74 20 22 32 2c 30 2c | 30 2c 30 22 20 69 6e 74 |ut "2,0,|0,0" int|
|000038c0| 6f 20 73 70 65 6c 6c 73 | 0d 69 66 20 6c 65 76 65 |o spells|.if leve|
|000038d0| 6c 20 3d 20 31 31 20 74 | 68 65 6e 20 70 75 74 20 |l = 11 t|hen put |
|000038e0| 22 32 2c 31 2c 30 2c 30 | 22 20 69 6e 74 6f 20 73 |"2,1,0,0|" into s|
|000038f0| 70 65 6c 6c 73 0d 69 66 | 20 6c 65 76 65 6c 20 3d |pells.if| level =|
|00003900| 20 31 32 20 74 68 65 6e | 20 70 75 74 20 22 32 2c | 12 then| put "2,|
|00003910| 32 2c 30 2c 30 22 20 69 | 6e 74 6f 20 73 70 65 6c |2,0,0" i|nto spel|
|00003920| 6c 73 0d 69 66 20 6c 65 | 76 65 6c 20 3d 20 31 33 |ls.if le|vel = 13|
|00003930| 20 74 68 65 6e 20 70 75 | 74 20 22 32 2c 32 2c 31 | then pu|t "2,2,1|
|00003940| 2c 30 22 20 69 6e 74 6f | 20 73 70 65 6c 6c 73 0d |,0" into| spells.|
|00003950| 69 66 20 6c 65 76 65 6c | 20 3d 20 31 34 20 74 68 |if level| = 14 th|
|00003960| 65 6e 20 70 75 74 20 22 | 33 2c 32 2c 31 2c 30 22 |en put "|3,2,1,0"|
|00003970| 20 69 6e 74 6f 20 73 70 | 65 6c 6c 73 0d 69 66 20 | into sp|ells.if |
|00003980| 6c 65 76 65 6c 20 3d 20 | 31 35 20 74 68 65 6e 20 |level = |15 then |
|00003990| 70 75 74 20 22 33 2c 32 | 2c 31 2c 31 22 20 69 6e |put "3,2|,1,1" in|
|000039a0| 74 6f 20 73 70 65 6c 6c | 73 0d 69 66 20 6c 65 76 |to spell|s.if lev|
|000039b0| 65 6c 20 3d 20 31 36 20 | 74 68 65 6e 20 70 75 74 |el = 16 |then put|
|000039c0| 20 22 33 2c 33 2c 32 2c | 31 22 20 69 6e 74 6f 20 | "3,3,2,|1" into |
|000039d0| 73 70 65 6c 6c 73 0d 69 | 66 20 6c 65 76 65 6c 20 |spells.i|f level |
|000039e0| 3d 20 31 37 20 74 68 65 | 6e 20 70 75 74 20 22 33 |= 17 the|n put "3|
|000039f0| 2c 33 2c 33 2c 31 22 20 | 69 6e 74 6f 20 73 70 65 |,3,3,1" |into spe|
|00003a00| 6c 6c 73 0d 69 66 20 6c | 65 76 65 6c 20 3d 20 31 |lls.if l|evel = 1|
|00003a10| 38 20 74 68 65 6e 20 70 | 75 74 20 22 33 2c 33 2c |8 then p|ut "3,3,|
|00003a20| 33 2c 31 22 20 69 6e 74 | 6f 20 73 70 65 6c 6c 73 |3,1" int|o spells|
|00003a30| 0d 69 66 20 6c 65 76 65 | 6c 20 3d 20 31 39 20 74 |.if leve|l = 19 t|
|00003a40| 68 65 6e 20 70 75 74 20 | 22 33 2c 33 2c 33 2c 32 |hen put |"3,3,3,2|
|00003a50| 22 20 69 6e 74 6f 20 73 | 70 65 6c 6c 73 0d 69 66 |" into s|pells.if|
|00003a60| 20 6c 65 76 65 6c 20 3e | 3d 20 32 30 20 74 68 65 | level >|= 20 the|
|00003a70| 6e 20 70 75 74 20 22 33 | 2c 33 2c 33 2c 33 22 20 |n put "3|,3,3,3" |
|00003a80| 69 6e 74 6f 20 73 70 65 | 6c 6c 73 0d 70 75 74 20 |into spe|lls.put |
|00003a90| 22 44 61 69 6c 79 20 70 | 72 69 65 73 74 20 73 70 |"Daily p|riest sp|
|00003aa0| 65 6c 6c 73 2c 20 62 79 | 20 6c 65 76 65 6c 3a 22 |ells, by| level:"|
|00003ab0| 20 26 26 20 73 70 65 6c | 6c 73 20 69 6e 74 6f 20 | && spel|ls into |
|00003ac0| 73 70 65 6c 6c 73 0d 65 | 6e 64 20 69 66 0d 69 66 |spells.e|nd if.if|
|00003ad0| 20 67 72 6f 75 70 20 3d | 20 22 50 72 69 65 73 74 | group =| "Priest|
|00003ae0| 22 20 74 68 65 6e 0d 69 | 66 20 6c 65 76 65 6c 20 |" then.i|f level |
|00003af0| 3d 20 31 20 74 68 65 6e | 20 70 75 74 20 22 31 2c |= 1 then| put "1,|
|00003b00| 30 2c 30 2c 30 2c 30 2c | 30 2c 30 22 20 69 6e 74 |0,0,0,0,|0,0" int|
|00003b10| 6f 20 73 70 65 6c 6c 73 | 0d 69 66 20 6c 65 76 65 |o spells|.if leve|
|00003b20| 6c 20 3d 20 32 20 74 68 | 65 6e 20 70 75 74 20 22 |l = 2 th|en put "|
|00003b30| 32 2c 30 2c 30 2c 30 2c | 30 2c 30 2c 30 22 20 69 |2,0,0,0,|0,0,0" i|
|00003b40| 6e 74 6f 20 73 70 65 6c | 6c 73 0d 69 66 20 6c 65 |nto spel|ls.if le|
|00003b50| 76 65 6c 20 3d 20 33 20 | 74 68 65 6e 20 70 75 74 |vel = 3 |then put|
|00003b60| 20 22 32 2c 31 2c 30 2c | 30 2c 30 2c 30 2c 30 22 | "2,1,0,|0,0,0,0"|
|00003b70| 20 69 6e 74 6f 20 73 70 | 65 6c 6c 73 0d 69 66 20 | into sp|ells.if |
|00003b80| 6c 65 76 65 6c 20 3d 20 | 34 20 74 68 65 6e 20 70 |level = |4 then p|
|00003b90| 75 74 20 22 33 2c 32 2c | 30 2c 30 2c 30 2c 30 2c |ut "3,2,|0,0,0,0,|
|00003ba0| 30 22 20 69 6e 74 6f 20 | 73 70 65 6c 6c 73 0d 69 |0" into |spells.i|
|00003bb0| 66 20 6c 65 76 65 6c 20 | 3d 20 35 20 74 68 65 6e |f level |= 5 then|
|00003bc0| 20 70 75 74 20 22 33 2c | 33 2c 31 2c 30 2c 30 2c | put "3,|3,1,0,0,|
|00003bd0| 30 2c 30 22 20 69 6e 74 | 6f 20 73 70 65 6c 6c 73 |0,0" int|o spells|
|00003be0| 0d 69 66 20 6c 65 76 65 | 6c 20 3d 20 36 20 74 68 |.if leve|l = 6 th|
|00003bf0| 65 6e 20 70 75 74 20 22 | 33 2c 33 2c 32 2c 30 2c |en put "|3,3,2,0,|
|00003c00| 30 2c 30 2c 30 22 20 69 | 6e 74 6f 20 73 70 65 6c |0,0,0" i|nto spel|
|00003c10| 6c 73 0d 69 66 20 6c 65 | 76 65 6c 20 3d 20 37 20 |ls.if le|vel = 7 |
|00003c20| 74 68 65 6e 20 70 75 74 | 20 22 33 2c 33 2c 32 2c |then put| "3,3,2,|
|00003c30| 31 2c 30 2c 30 2c 30 22 | 20 69 6e 74 6f 20 73 70 |1,0,0,0"| into sp|
|00003c40| 65 6c 6c 73 0d 69 66 20 | 6c 65 76 65 6c 20 3d 20 |ells.if |level = |
|00003c50| 38 20 74 68 65 6e 20 70 | 75 74 20 22 33 2c 33 2c |8 then p|ut "3,3,|
|00003c60| 33 2c 32 2c 30 2c 30 2c | 30 22 20 69 6e 74 6f 20 |3,2,0,0,|0" into |
|00003c70| 73 70 65 6c 6c 73 0d 69 | 66 20 6c 65 76 65 6c 20 |spells.i|f level |
|00003c80| 3d 20 39 20 74 68 65 6e | 20 70 75 74 20 22 34 2c |= 9 then| put "4,|
|00003c90| 34 2c 33 2c 32 2c 31 2c | 30 2c 30 22 20 69 6e 74 |4,3,2,1,|0,0" int|
|00003ca0| 6f 20 73 70 65 6c 6c 73 | 0d 69 66 20 6c 65 76 65 |o spells|.if leve|
|00003cb0| 6c 20 3d 20 31 30 20 74 | 68 65 6e 20 70 75 74 20 |l = 10 t|hen put |
|00003cc0| 22 34 2c 34 2c 33 2c 33 | 2c 32 2c 30 2c 30 22 20 |"4,4,3,3|,2,0,0" |
|00003cd0| 69 6e 74 6f 20 73 70 65 | 6c 6c 73 0d 69 66 20 6c |into spe|lls.if l|
|00003ce0| 65 76 65 6c 20 3d 20 31 | 31 20 74 68 65 6e 20 70 |evel = 1|1 then p|
|00003cf0| 75 74 20 22 35 2c 34 2c | 34 2c 33 2c 32 2c 31 2c |ut "5,4,|4,3,2,1,|
|00003d00| 30 22 20 69 6e 74 6f 20 | 73 70 65 6c 6c 73 0d 69 |0" into |spells.i|
|00003d10| 66 20 6c 65 76 65 6c 20 | 3d 20 31 32 20 74 68 65 |f level |= 12 the|
|00003d20| 6e 20 70 75 74 20 22 36 | 2c 35 2c 35 2c 33 2c 32 |n put "6|,5,5,3,2|
|00003d30| 2c 32 2c 30 22 20 69 6e | 74 6f 20 73 70 65 6c 6c |,2,0" in|to spell|
|00003d40| 73 0d 69 66 20 6c 65 76 | 65 6c 20 3d 20 31 33 20 |s.if lev|el = 13 |
|00003d50| 74 68 65 6e 20 70 75 74 | 20 22 36 2c 36 2c 36 2c |then put| "6,6,6,|
|00003d60| 34 2c 32 2c 32 2c 30 22 | 20 69 6e 74 6f 20 73 70 |4,2,2,0"| into sp|
|00003d70| 65 6c 6c 73 0d 69 66 20 | 6c 65 76 65 6c 20 3d 20 |ells.if |level = |
|00003d80| 31 34 20 74 68 65 6e 20 | 70 75 74 20 22 36 2c 36 |14 then |put "6,6|
|00003d90| 2c 36 2c 35 2c 33 2c 32 | 2c 31 22 20 69 6e 74 6f |,6,5,3,2|,1" into|
|00003da0| 20 73 70 65 6c 6c 73 0d | 69 66 20 6c 65 76 65 6c | spells.|if level|
|00003db0| 20 3d 20 31 35 20 74 68 | 65 6e 20 70 75 74 20 22 | = 15 th|en put "|
|00003dc0| 36 2c 36 2c 36 2c 36 2c | 34 2c 32 2c 31 22 20 69 |6,6,6,6,|4,2,1" i|
|00003dd0| 6e 74 6f 20 73 70 65 6c | 6c 73 0d 69 66 20 6c 65 |nto spel|ls.if le|
|00003de0| 76 65 6c 20 3d 20 31 36 | 20 74 68 65 6e 20 70 75 |vel = 16| then pu|
|00003df0| 74 20 22 37 2c 37 2c 37 | 2c 36 2c 34 2c 33 2c 31 |t "7,7,7|,6,4,3,1|
|00003e00| 22 20 69 6e 74 6f 20 73 | 70 65 6c 6c 73 0d 69 66 |" into s|pells.if|
|00003e10| 20 6c 65 76 65 6c 20 3d | 20 31 37 20 74 68 65 6e | level =| 17 then|
|00003e20| 20 70 75 74 20 22 37 2c | 37 2c 37 2c 37 2c 35 2c | put "7,|7,7,7,5,|
|00003e30| 33 2c 32 22 20 69 6e 74 | 6f 20 73 70 65 6c 6c 73 |3,2" int|o spells|
|00003e40| 0d 69 66 20 6c 65 76 65 | 6c 20 3d 20 31 38 20 74 |.if leve|l = 18 t|
|00003e50| 68 65 6e 20 70 75 74 20 | 22 38 2c 38 2c 38 2c 38 |hen put |"8,8,8,8|
|00003e60| 2c 36 2c 34 2c 32 22 20 | 69 6e 74 6f 20 73 70 65 |,6,4,2" |into spe|
|00003e70| 6c 6c 73 0d 69 66 20 6c | 65 76 65 6c 20 3d 20 31 |lls.if l|evel = 1|
|00003e80| 39 20 74 68 65 6e 20 70 | 75 74 20 22 39 2c 39 2c |9 then p|ut "9,9,|
|00003e90| 38 2c 38 2c 36 2c 34 2c | 32 22 20 69 6e 74 6f 20 |8,8,6,4,|2" into |
|00003ea0| 73 70 65 6c 6c 73 0d 69 | 66 20 6c 65 76 65 6c 20 |spells.i|f level |
|00003eb0| 3e 3d 20 32 30 20 74 68 | 65 6e 20 70 75 74 20 22 |>= 20 th|en put "|
|00003ec0| 39 2c 39 2c 39 2c 38 2c | 37 2c 35 2c 32 22 20 69 |9,9,9,8,|7,5,2" i|
|00003ed0| 6e 74 6f 20 73 70 65 6c | 6c 73 0d 69 66 20 77 6f |nto spel|ls.if wo|
|00003ee0| 72 64 20 31 20 6f 66 20 | 77 69 73 64 6f 6d 20 3d |rd 1 of |wisdom =|
|00003ef0| 20 31 33 20 74 68 65 6e | 20 61 64 64 20 31 20 74 | 13 then| add 1 t|
|00003f00| 6f 20 69 74 65 6d 20 31 | 20 6f 66 20 73 70 65 6c |o item 1| of spel|
|00003f10| 6c 73 0d 69 66 20 77 6f | 72 64 20 31 20 6f 66 20 |ls.if wo|rd 1 of |
|00003f20| 77 69 73 64 6f 6d 20 3d | 20 31 34 20 74 68 65 6e |wisdom =| 14 then|
|00003f30| 20 61 64 64 20 32 20 74 | 6f 20 69 74 65 6d 20 31 | add 2 t|o item 1|
|00003f40| 20 6f 66 20 73 70 65 6c | 6c 73 0d 69 66 20 77 6f | of spel|ls.if wo|
|00003f50| 72 64 20 31 20 6f 66 20 | 77 69 73 64 6f 6d 20 3d |rd 1 of |wisdom =|
|00003f60| 20 31 35 20 74 68 65 6e | 0d 61 64 64 20 32 20 74 | 15 then|.add 2 t|
|00003f70| 6f 20 69 74 65 6d 20 31 | 20 6f 66 20 73 70 65 6c |o item 1| of spel|
|00003f80| 6c 73 0d 61 64 64 20 31 | 20 74 6f 20 69 74 65 6d |ls.add 1| to item|
|00003f90| 20 32 20 6f 66 20 73 70 | 65 6c 6c 73 0d 65 6e 64 | 2 of sp|ells.end|
|00003fa0| 20 69 66 0d 69 66 20 77 | 6f 72 64 20 31 20 6f 66 | if.if w|ord 1 of|
|00003fb0| 20 77 69 73 64 6f 6d 20 | 3d 20 31 36 20 74 68 65 | wisdom |= 16 the|
|00003fc0| 6e 0d 61 64 64 20 32 20 | 74 6f 20 69 74 65 6d 20 |n.add 2 |to item |
|00003fd0| 31 20 6f 66 20 73 70 65 | 6c 6c 73 0d 61 64 64 20 |1 of spe|lls.add |
|00003fe0| 32 20 74 6f 20 69 74 65 | 6d 20 32 20 6f 66 20 73 |2 to ite|m 2 of s|
|00003ff0| 70 65 6c 6c 73 0d 65 6e | 64 20 69 66 0d 69 66 20 |pells.en|d if.if |
|00004000| 77 6f 72 64 20 31 20 6f | 66 20 77 69 73 64 6f 6d |word 1 o|f wisdom|
|00004010| 20 3d 20 31 37 20 74 68 | 65 6e 0d 61 64 64 20 32 | = 17 th|en.add 2|
|00004020| 20 74 6f 20 69 74 65 6d | 20 31 20 6f 66 20 73 70 | to item| 1 of sp|
|00004030| 65 6c 6c 73 0d 61 64 64 | 20 32 20 74 6f 20 69 74 |ells.add| 2 to it|
|00004040| 65 6d 20 32 20 6f 66 20 | 73 70 65 6c 6c 73 0d 61 |em 2 of |spells.a|
|00004050| 64 64 20 31 20 74 6f 20 | 69 74 65 6d 20 33 20 6f |dd 1 to |item 3 o|
|00004060| 66 20 73 70 65 6c 6c 73 | 0d 65 6e 64 20 69 66 0d |f spells|.end if.|
|00004070| 69 66 20 77 6f 72 64 20 | 31 20 6f 66 20 77 69 73 |if word |1 of wis|
|00004080| 64 6f 6d 20 3d 20 31 38 | 20 74 68 65 6e 0d 61 64 |dom = 18| then.ad|
|00004090| 64 20 32 20 74 6f 20 69 | 74 65 6d 20 31 20 6f 66 |d 2 to i|tem 1 of|
|000040a0| 20 73 70 65 6c 6c 73 0d | 61 64 64 20 32 20 74 6f | spells.|add 2 to|
|000040b0| 20 69 74 65 6d 20 32 20 | 6f 66 20 73 70 65 6c 6c | item 2 |of spell|
|000040c0| 73 0d 61 64 64 20 31 20 | 74 6f 20 69 74 65 6d 20 |s.add 1 |to item |
|000040d0| 33 20 6f 66 20 73 70 65 | 6c 6c 73 0d 61 64 64 20 |3 of spe|lls.add |
|000040e0| 31 20 74 6f 20 69 74 65 | 6d 20 34 20 6f 66 20 73 |1 to ite|m 4 of s|
|000040f0| 70 65 6c 6c 73 0d 65 6e | 64 20 69 66 0d 70 75 74 |pells.en|d if.put|
|00004100| 20 22 44 61 69 6c 79 20 | 73 70 65 6c 6c 73 2c 20 | "Daily |spells, |
|00004110| 62 79 20 6c 65 76 65 6c | 3a 22 20 26 26 20 73 70 |by level|:" && sp|
|00004120| 65 6c 6c 73 20 69 6e 74 | 6f 20 73 70 65 6c 6c 73 |ells int|o spells|
|00004130| 0d 65 6e 64 20 69 66 0d | 69 66 20 63 6c 61 73 73 |.end if.|if class|
|00004140| 20 3d 20 22 52 61 6e 67 | 65 72 22 20 74 68 65 6e | = "Rang|er" then|
|00004150| 0d 69 66 20 6c 65 76 65 | 6c 20 3c 38 20 74 68 65 |.if leve|l <8 the|
|00004160| 6e 20 70 75 74 20 22 30 | 2c 30 2c 30 22 20 69 6e |n put "0|,0,0" in|
|00004170| 74 6f 20 73 70 65 6c 6c | 73 0d 69 66 20 6c 65 76 |to spell|s.if lev|
|00004180| 65 6c 20 3d 20 38 20 74 | 68 65 6e 20 70 75 74 20 |el = 8 t|hen put |
|00004190| 22 31 2c 30 2c 30 22 20 | 69 6e 74 6f 20 73 70 65 |"1,0,0" |into spe|
|000041a0| 6c 6c 73 0d 69 66 20 6c | 65 76 65 6c 20 3d 20 39 |lls.if l|evel = 9|
|000041b0| 20 74 68 65 6e 20 70 75 | 74 20 22 32 2c 30 2c 30 | then pu|t "2,0,0|
|000041c0| 22 20 69 6e 74 6f 20 73 | 70 65 6c 6c 73 0d 69 66 |" into s|pells.if|
|000041d0| 20 6c 65 76 65 6c 20 3d | 20 31 30 20 74 68 65 6e | level =| 10 then|
|000041e0| 20 70 75 74 20 22 32 2c | 31 2c 30 22 20 69 6e 74 | put "2,|1,0" int|
|000041f0| 6f 20 73 70 65 6c 6c 73 | 0d 69 66 20 6c 65 76 65 |o spells|.if leve|
|00004200| 6c 20 3d 20 31 31 20 74 | 68 65 6e 20 70 75 74 20 |l = 11 t|hen put |
|00004210| 22 32 2c 32 2c 30 22 20 | 69 6e 74 6f 20 73 70 65 |"2,2,0" |into spe|
|00004220| 6c 6c 73 0d 69 66 20 6c | 65 76 65 6c 20 3d 20 31 |lls.if l|evel = 1|
|00004230| 32 20 74 68 65 6e 20 70 | 75 74 20 22 32 2c 32 2c |2 then p|ut "2,2,|
|00004240| 31 22 20 69 6e 74 6f 20 | 73 70 65 6c 6c 73 0d 69 |1" into |spells.i|
|00004250| 66 20 6c 65 76 65 6c 20 | 3d 20 31 33 20 74 68 65 |f level |= 13 the|
|00004260| 6e 20 70 75 74 20 22 33 | 2c 32 2c 31 22 20 69 6e |n put "3|,2,1" in|
|00004270| 74 6f 20 73 70 65 6c 6c | 73 0d 69 66 20 6c 65 76 |to spell|s.if lev|
|00004280| 65 6c 20 3d 20 31 34 20 | 74 68 65 6e 20 70 75 74 |el = 14 |then put|
|00004290| 20 22 33 2c 32 2c 32 22 | 20 69 6e 74 6f 20 73 70 | "3,2,2"| into sp|
|000042a0| 65 6c 6c 73 0d 69 66 20 | 6c 65 76 65 6c 20 3d 20 |ells.if |level = |
|000042b0| 31 35 20 74 68 65 6e 20 | 70 75 74 20 22 33 2c 33 |15 then |put "3,3|
|000042c0| 2c 32 22 20 69 6e 74 6f | 20 73 70 65 6c 6c 73 0d |,2" into| spells.|
|000042d0| 69 66 20 6c 65 76 65 6c | 20 3e 3d 20 31 36 20 74 |if level| >= 16 t|
|000042e0| 68 65 6e 20 70 75 74 20 | 22 33 2c 33 2c 33 22 20 |hen put |"3,3,3" |
|000042f0| 69 6e 74 6f 20 73 70 65 | 6c 6c 73 0d 70 75 74 20 |into spe|lls.put |
|00004300| 22 44 61 69 6c 79 20 70 | 72 69 65 73 74 20 73 70 |"Daily p|riest sp|
|00004310| 65 6c 6c 73 2c 20 62 79 | 20 6c 65 76 65 6c 3a 22 |ells, by| level:"|
|00004320| 20 26 26 20 73 70 65 6c | 6c 73 20 69 6e 74 6f 20 | && spel|ls into |
|00004330| 73 70 65 6c 6c 73 0d 65 | 6e 64 20 69 66 0d 69 66 |spells.e|nd if.if|
|00004340| 20 63 6c 61 73 73 20 3d | 20 22 42 61 72 64 22 20 | class =| "Bard" |
|00004350| 74 68 65 6e 0d 69 66 20 | 6c 65 76 65 6c 20 3d 20 |then.if |level = |
|00004360| 32 20 74 68 65 6e 20 70 | 75 74 20 22 31 2c 30 2c |2 then p|ut "1,0,|
|00004370| 30 2c 30 2c 30 2c 30 22 | 20 69 6e 74 6f 20 73 70 |0,0,0,0"| into sp|
|00004380| 65 6c 6c 73 32 0d 69 66 | 20 6c 65 76 65 6c 20 3d |ells2.if| level =|
|00004390| 20 33 20 74 68 65 6e 20 | 70 75 74 20 22 32 2c 30 | 3 then |put "2,0|
|000043a0| 2c 30 2c 30 2c 30 2c 30 | 22 20 69 6e 74 6f 20 73 |,0,0,0,0|" into s|
|000043b0| 70 65 6c 6c 73 32 0d 69 | 66 20 6c 65 76 65 6c 20 |pells2.i|f level |
|000043c0| 3d 20 34 20 74 68 65 6e | 20 70 75 74 20 22 32 2c |= 4 then| put "2,|
|000043d0| 31 2c 30 2c 30 2c 30 2c | 30 22 20 69 6e 74 6f 20 |1,0,0,0,|0" into |
|000043e0| 73 70 65 6c 6c 73 32 0d | 69 66 20 6c 65 76 65 6c |spells2.|if level|
|000043f0| 20 3d 20 35 20 74 68 65 | 6e 20 70 75 74 20 22 33 | = 5 the|n put "3|
|00004400| 2c 31 2c 30 2c 30 2c 30 | 2c 30 22 20 69 6e 74 6f |,1,0,0,0|,0" into|
|00004410| 20 73 70 65 6c 6c 73 32 | 0d 69 66 20 6c 65 76 65 | spells2|.if leve|
|00004420| 6c 20 3d 20 36 20 74 68 | 65 6e 20 70 75 74 20 22 |l = 6 th|en put "|
|00004430| 33 2c 32 2c 30 2c 30 2c | 30 2c 30 22 20 69 6e 74 |3,2,0,0,|0,0" int|
|00004440| 6f 20 73 70 65 6c 6c 73 | 32 0d 69 66 20 6c 65 76 |o spells|2.if lev|
|00004450| 65 6c 20 3d 20 37 20 74 | 68 65 6e 20 70 75 74 20 |el = 7 t|hen put |
|00004460| 22 33 2c 32 2c 31 2c 30 | 2c 30 2c 30 22 20 69 6e |"3,2,1,0|,0,0" in|
|00004470| 74 6f 20 73 70 65 6c 6c | 73 32 0d 69 66 20 6c 65 |to spell|s2.if le|
|00004480| 76 65 6c 20 3d 20 38 20 | 74 68 65 6e 20 70 75 74 |vel = 8 |then put|
|00004490| 20 22 33 2c 33 2c 31 2c | 30 2c 30 2c 30 22 20 69 | "3,3,1,|0,0,0" i|
|000044a0| 6e 74 6f 20 73 70 65 6c | 6c 73 32 0d 69 66 20 6c |nto spel|ls2.if l|
|000044b0| 65 76 65 6c 20 3d 20 39 | 20 74 68 65 6e 20 70 75 |evel = 9| then pu|
|000044c0| 74 20 22 33 2c 33 2c 32 | 2c 30 2c 30 2c 30 22 20 |t "3,3,2|,0,0,0" |
|000044d0| 69 6e 74 6f 20 73 70 65 | 6c 6c 73 32 0d 69 66 20 |into spe|lls2.if |
|000044e0| 6c 65 76 65 6c 20 3d 20 | 31 30 20 74 68 65 6e 20 |level = |10 then |
|000044f0| 70 75 74 20 22 33 2c 33 | 2c 32 2c 31 2c 30 2c 30 |put "3,3|,2,1,0,0|
|00004500| 22 20 69 6e 74 6f 20 73 | 70 65 6c 6c 73 32 0d 69 |" into s|pells2.i|
|00004510| 66 20 6c 65 76 65 6c 20 | 3d 20 31 31 20 74 68 65 |f level |= 11 the|
|00004520| 6e 20 70 75 74 20 22 33 | 2c 33 2c 33 2c 31 2c 30 |n put "3|,3,3,1,0|
|00004530| 2c 30 22 20 69 6e 74 6f | 20 73 70 65 6c 6c 73 32 |,0" into| spells2|
|00004540| 0d 69 66 20 6c 65 76 65 | 6c 20 3d 20 31 32 20 74 |.if leve|l = 12 t|
|00004550| 68 65 6e 20 70 75 74 20 | 22 33 2c 33 2c 33 2c 32 |hen put |"3,3,3,2|
|00004560| 2c 30 2c 30 22 20 69 6e | 74 6f 20 73 70 65 6c 6c |,0,0" in|to spell|
|00004570| 73 32 0d 69 66 20 6c 65 | 76 65 6c 20 3d 20 31 33 |s2.if le|vel = 13|
|00004580| 20 74 68 65 6e 20 70 75 | 74 20 22 33 2c 33 2c 33 | then pu|t "3,3,3|
|00004590| 2c 32 2c 31 2c 30 22 20 | 69 6e 74 6f 20 73 70 65 |,2,1,0" |into spe|
|000045a0| 6c 6c 73 32 0d 69 66 20 | 6c 65 76 65 6c 20 3d 20 |lls2.if |level = |
|000045b0| 31 34 20 74 68 65 6e 20 | 70 75 74 20 22 33 2c 33 |14 then |put "3,3|
|000045c0| 2c 33 2c 33 2c 31 2c 30 | 22 20 69 6e 74 6f 20 73 |,3,3,1,0|" into s|
|000045d0| 70 65 6c 6c 73 32 0d 69 | 66 20 6c 65 76 65 6c 20 |pells2.i|f level |
|000045e0| 3d 20 31 35 20 74 68 65 | 6e 20 70 75 74 20 22 33 |= 15 the|n put "3|
|000045f0| 2c 33 2c 33 2c 33 2c 32 | 2c 30 22 20 69 6e 74 6f |,3,3,3,2|,0" into|
|00004600| 20 73 70 65 6c 6c 73 32 | 0d 69 66 20 6c 65 76 65 | spells2|.if leve|
|00004610| 6c 20 3d 20 31 36 20 74 | 68 65 6e 20 70 75 74 20 |l = 16 t|hen put |
|00004620| 22 34 2c 33 2c 33 2c 33 | 2c 32 2c 31 22 20 69 6e |"4,3,3,3|,2,1" in|
|00004630| 74 6f 20 73 70 65 6c 6c | 73 32 0d 69 66 20 6c 65 |to spell|s2.if le|
|00004640| 76 65 6c 20 3d 20 31 37 | 20 74 68 65 6e 20 70 75 |vel = 17| then pu|
|00004650| 74 20 22 34 2c 34 2c 33 | 2c 33 2c 33 2c 31 22 20 |t "4,4,3|,3,3,1" |
|00004660| 69 6e 74 6f 20 73 70 65 | 6c 6c 73 32 0d 69 66 20 |into spe|lls2.if |
|00004670| 6c 65 76 65 6c 20 3d 20 | 31 38 20 74 68 65 6e 20 |level = |18 then |
|00004680| 70 75 74 20 22 34 2c 34 | 2c 34 2c 33 2c 33 2c 32 |put "4,4|,4,3,3,2|
|00004690| 22 20 69 6e 74 6f 20 73 | 70 65 6c 6c 73 32 0d 69 |" into s|pells2.i|
|000046a0| 66 20 6c 65 76 65 6c 20 | 3d 20 31 39 20 74 68 65 |f level |= 19 the|
|000046b0| 6e 20 70 75 74 20 22 34 | 2c 34 2c 34 2c 34 2c 33 |n put "4|,4,4,4,3|
|000046c0| 2c 32 22 20 69 6e 74 6f | 20 73 70 65 6c 6c 73 32 |,2" into| spells2|
|000046d0| 0d 69 66 20 6c 65 76 65 | 6c 20 3e 3d 20 32 30 20 |.if leve|l >= 20 |
|000046e0| 74 68 65 6e 20 70 75 74 | 20 22 34 2c 34 2c 34 2c |then put| "4,4,4,|
|000046f0| 34 2c 34 2c 33 22 20 69 | 6e 74 6f 20 73 70 65 6c |4,4,3" i|nto spel|
|00004700| 6c 73 32 0d 69 66 20 77 | 6f 72 64 20 31 20 6f 66 |ls2.if w|ord 1 of|
|00004710| 20 69 6e 74 65 6c 6c 69 | 67 65 6e 63 65 20 3d 20 | intelli|gence = |
|00004720| 39 20 74 68 65 6e 0d 70 | 75 74 20 30 20 69 6e 74 |9 then.p|ut 0 int|
|00004730| 6f 20 69 74 65 6d 20 35 | 20 6f 66 20 73 70 65 6c |o item 5| of spel|
|00004740| 6c 73 32 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 69 |ls2.put |0 into i|
|00004750| 74 65 6d 20 36 20 6f 66 | 20 73 70 65 6c 6c 73 32 |tem 6 of| spells2|
|00004760| 0d 70 75 74 20 30 20 69 | 6e 74 6f 20 69 74 65 6d |.put 0 i|nto item|
|00004770| 20 37 20 6f 66 20 73 70 | 65 6c 6c 73 32 0d 70 75 | 7 of sp|ells2.pu|
|00004780| 74 20 30 20 69 6e 74 6f | 20 69 74 65 6d 20 38 20 |t 0 into| item 8 |
|00004790| 6f 66 20 73 70 65 6c 6c | 73 32 0d 70 75 74 20 30 |of spell|s2.put 0|
|000047a0| 20 69 6e 74 6f 20 69 74 | 65 6d 20 39 20 6f 66 20 | into it|em 9 of |
|000047b0| 73 70 65 6c 6c 73 32 0d | 65 6e 64 20 69 66 0d 69 |spells2.|end if.i|
|000047c0| 66 20 77 6f 72 64 20 31 | 20 6f 66 20 69 6e 74 65 |f word 1| of inte|
|000047d0| 6c 6c 69 67 65 6e 63 65 | 20 3d 20 31 30 20 6f 72 |lligence| = 10 or|
|000047e0| 20 77 6f 72 64 20 31 20 | 6f 66 20 69 6e 74 65 6c | word 1 |of intel|
|000047f0| 6c 69 67 65 6e 63 65 20 | 3d 20 31 31 20 74 68 65 |ligence |= 11 the|
|00004800| 6e 0d 70 75 74 20 30 20 | 69 6e 74 6f 20 69 74 65 |n.put 0 |into ite|
|00004810| 6d 20 36 20 6f 66 20 73 | 70 65 6c 6c 73 32 0d 70 |m 6 of s|pells2.p|
|00004820| 75 74 20 30 20 69 6e 74 | 6f 20 69 74 65 6d 20 37 |ut 0 int|o item 7|
|00004830| 20 6f 66 20 73 70 65 6c | 6c 73 32 0d 70 75 74 20 | of spel|ls2.put |
|00004840| 30 20 69 6e 74 6f 20 69 | 74 65 6d 20 38 20 6f 66 |0 into i|tem 8 of|
|00004850| 20 73 70 65 6c 6c 73 32 | 0d 70 75 74 20 30 20 69 | spells2|.put 0 i|
|00004860| 6e 74 6f 20 69 74 65 6d | 20 39 20 6f 66 20 73 70 |nto item| 9 of sp|
|00004870| 65 6c 6c 73 32 0d 65 6e | 64 20 69 66 0d 69 66 20 |ells2.en|d if.if |
|00004880| 77 6f 72 64 20 31 20 6f | 66 20 69 6e 74 65 6c 6c |word 1 o|f intell|
|00004890| 69 67 65 6e 63 65 20 3d | 20 31 32 20 6f 72 20 77 |igence =| 12 or w|
|000048a0| 6f 72 64 20 31 20 6f 66 | 20 69 6e 74 65 6c 6c 69 |ord 1 of| intelli|
|000048b0| 67 65 6e 63 65 20 3d 20 | 31 33 20 74 68 65 6e 0d |gence = |13 then.|
|000048c0| 70 75 74 20 30 20 69 6e | 74 6f 20 69 74 65 6d 20 |put 0 in|to item |
|000048d0| 37 20 6f 66 20 73 70 65 | 6c 6c 73 32 0d 70 75 74 |7 of spe|lls2.put|
|000048e0| 20 30 20 69 6e 74 6f 20 | 69 74 65 6d 20 38 20 6f | 0 into |item 8 o|
|000048f0| 66 20 73 70 65 6c 6c 73 | 32 0d 70 75 74 20 30 20 |f spells|2.put 0 |
|00004900| 69 6e 74 6f 20 69 74 65 | 6d 20 39 20 6f 66 20 73 |into ite|m 9 of s|
|00004910| 70 65 6c 6c 73 32 0d 65 | 6e 64 20 69 66 0d 69 66 |pells2.e|nd if.if|
|00004920| 20 77 6f 72 64 20 31 20 | 6f 66 20 69 6e 74 65 6c | word 1 |of intel|
|00004930| 6c 69 67 65 6e 63 65 20 | 3d 20 31 34 20 6f 72 20 |ligence |= 14 or |
|00004940| 77 6f 72 64 20 31 20 6f | 66 20 69 6e 74 65 6c 6c |word 1 o|f intell|
|00004950| 69 67 65 6e 63 65 20 3d | 20 31 35 20 74 68 65 6e |igence =| 15 then|
|00004960| 0d 70 75 74 20 30 20 69 | 6e 74 6f 20 69 74 65 6d |.put 0 i|nto item|
|00004970| 20 38 20 6f 66 20 73 70 | 65 6c 6c 73 32 0d 70 75 | 8 of sp|ells2.pu|
|00004980| 74 20 30 20 69 6e 74 6f | 20 69 74 65 6d 20 39 20 |t 0 into| item 9 |
|00004990| 6f 66 20 73 70 65 6c 6c | 73 32 0d 65 6e 64 20 69 |of spell|s2.end i|
|000049a0| 66 0d 69 66 20 77 6f 72 | 64 20 31 20 6f 66 20 69 |f.if wor|d 1 of i|
|000049b0| 6e 74 65 6c 6c 69 67 65 | 6e 63 65 20 3d 20 31 36 |ntellige|nce = 16|
|000049c0| 20 6f 72 20 77 6f 72 64 | 20 31 20 6f 66 20 69 6e | or word| 1 of in|
|000049d0| 74 65 6c 6c 69 67 65 6e | 63 65 20 3d 20 31 37 20 |telligen|ce = 17 |
|000049e0| 74 68 65 6e 0d 70 75 74 | 20 30 20 69 6e 74 6f 20 |then.put| 0 into |
|000049f0| 69 74 65 6d 20 39 20 6f | 66 20 73 70 65 6c 6c 73 |item 9 o|f spells|
|00004a00| 32 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 69 6e 74 |2.end if|.put int|
|00004a10| 65 6c 6c 69 67 65 6e 63 | 65 20 69 6e 74 6f 20 62 |elligenc|e into b|
|00004a20| 61 72 64 69 6e 74 0d 70 | 75 74 20 77 6f 72 64 20 |ardint.p|ut word |
|00004a30| 31 20 6f 66 20 62 61 72 | 64 69 6e 74 20 69 6e 74 |1 of bar|dint int|
|00004a40| 6f 20 72 65 61 6c 69 6e | 74 0d 64 65 6c 65 74 65 |o realin|t.delete|
|00004a50| 20 77 6f 72 64 20 31 20 | 6f 66 20 62 61 72 64 69 | word 1 |of bardi|
|00004a60| 6e 74 0d 64 65 6c 65 74 | 65 20 66 69 72 73 74 20 |nt.delet|e first |
|00004a70| 63 68 61 72 20 6f 66 20 | 62 61 72 64 69 6e 74 0d |char of |bardint.|
|00004a80| 64 65 6c 65 74 65 20 6c | 61 73 74 20 63 68 61 72 |delete l|ast char|
|00004a90| 20 6f 66 20 62 61 72 64 | 69 6e 74 0d 70 75 74 20 | of bard|int.put |
|00004aa0| 69 74 65 6d 20 32 20 6f | 66 20 62 61 72 64 69 6e |item 2 o|f bardin|
|00004ab0| 74 20 69 6e 74 6f 20 6c | 65 76 65 6c 6c 69 6d 69 |t into l|evellimi|
|00004ac0| 74 0d 70 75 74 20 69 74 | 65 6d 20 33 20 6f 66 20 |t.put it|em 3 of |
|00004ad0| 62 61 72 64 69 6e 74 20 | 69 6e 74 6f 20 63 68 61 |bardint |into cha|
|00004ae0| 6e 63 65 0d 64 65 6c 65 | 74 65 20 6c 61 73 74 20 |nce.dele|te last |
|00004af0| 63 68 61 72 20 6f 66 20 | 63 68 61 6e 63 65 0d 70 |char of |chance.p|
|00004b00| 75 74 20 69 74 65 6d 20 | 34 20 6f 66 20 62 61 72 |ut item |4 of bar|
|00004b10| 64 69 6e 74 20 69 6e 74 | 6f 20 6d 61 78 73 70 65 |dint int|o maxspe|
|00004b20| 6c 6c 73 0d 69 66 20 72 | 65 61 6c 69 6e 74 20 3c |lls.if r|ealint <|
|00004b30| 31 39 20 74 68 65 6e 0d | 70 75 74 20 22 44 61 69 |19 then.|put "Dai|
|00004b40| 6c 79 20 73 70 65 6c 6c | 73 2c 20 62 79 20 6c 65 |ly spell|s, by le|
|00004b50| 76 65 6c 3a 22 20 26 26 | 20 73 70 65 6c 6c 73 32 |vel:" &&| spells2|
|00004b60| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 28 74 68 65 20 | into li|ne (the |
|00004b70| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|00004b80| 6f 66 20 73 70 65 6c 6c | 73 29 2b 31 20 6f 66 20 |of spell|s)+1 of |
|00004b90| 73 70 65 6c 6c 73 0d 70 | 75 74 20 22 42 61 72 64 |spells.p|ut "Bard|
|00004ba0| 20 53 70 65 6c 6c 62 6f | 6f 6b 20 53 70 65 6c 6c | Spellbo|ok Spell|
|00004bb0| 73 22 20 69 6e 74 6f 20 | 6c 69 6e 65 20 28 74 68 |s" into |line (th|
|00004bc0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|00004bd0| 73 20 6f 66 20 73 70 65 | 6c 6c 73 29 2b 32 20 6f |s of spe|lls)+2 o|
|00004be0| 66 20 73 70 65 6c 6c 73 | 0d 70 75 74 20 22 20 22 |f spells|.put " "|
|00004bf0| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 28 74 68 65 20 | into li|ne (the |
|00004c00| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|00004c10| 6f 66 20 73 70 65 6c 6c | 73 29 2b 31 20 6f 66 20 |of spell|s)+1 of |
|00004c20| 73 70 65 6c 6c 73 0d 72 | 65 70 65 61 74 20 77 69 |spells.r|epeat wi|
|00004c30| 74 68 20 63 6f 75 6e 74 | 65 72 20 3d 20 31 20 74 |th count|er = 1 t|
|00004c40| 6f 20 36 0d 69 66 20 69 | 74 65 6d 20 63 6f 75 6e |o 6.if i|tem coun|
|00004c50| 74 65 72 20 6f 66 20 73 | 70 65 6c 6c 73 32 20 3c |ter of s|pells2 <|
|00004c60| 3e 20 30 20 74 68 65 6e | 0d 70 75 74 20 22 4c 65 |> 0 then|.put "Le|
|00004c70| 76 65 6c 22 20 26 26 20 | 63 6f 75 6e 74 65 72 20 |vel" && |counter |
|00004c80| 69 6e 74 6f 20 6c 69 6e | 65 20 28 74 68 65 20 6e |into lin|e (the n|
|00004c90| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o|
|00004ca0| 66 20 73 70 65 6c 6c 73 | 29 2b 31 20 6f 66 20 73 |f spells|)+1 of s|
|00004cb0| 70 65 6c 6c 73 0d 70 75 | 74 20 30 20 69 6e 74 6f |pells.pu|t 0 into|
|00004cc0| 20 63 6f 75 6e 74 65 72 | 32 0d 72 65 70 65 61 74 | counter|2.repeat|
|00004cd0| 20 77 69 74 68 20 63 6f | 75 6e 74 65 72 39 20 3d | with co|unter9 =|
|00004ce0| 20 31 20 74 6f 20 28 6c | 65 76 65 6c 2d 31 29 0d | 1 to (l|evel-1).|
|00004cf0| 72 65 70 65 61 74 20 75 | 6e 74 69 6c 20 63 6f 75 |repeat u|ntil cou|
|00004d00| 6e 74 65 72 32 20 3d 20 | 6d 61 78 73 70 65 6c 6c |nter2 = |maxspell|
|00004d10| 73 0d 69 66 20 74 68 65 | 20 72 61 6e 64 6f 6d 20 |s.if the| random |
|00004d20| 6f 66 20 31 30 30 20 3c | 3d 20 63 68 61 6e 63 65 |of 100 <|= chance|
|00004d30| 20 74 68 65 6e 0d 70 75 | 74 20 22 79 65 73 22 20 | then.pu|t "yes" |
|00004d40| 69 6e 74 6f 20 72 65 70 | 65 61 74 65 64 0d 72 65 |into rep|eated.re|
|00004d50| 70 65 61 74 20 75 6e 74 | 69 6c 20 72 65 70 65 61 |peat unt|il repea|
|00004d60| 74 65 64 20 3c 3e 20 22 | 79 65 73 22 0d 70 75 74 |ted <> "|yes".put|
|00004d70| 20 69 74 65 6d 20 31 20 | 6f 66 20 61 6e 79 20 6c | item 1 |of any l|
|00004d80| 69 6e 65 20 6f 66 20 63 | 64 20 66 6c 64 20 28 22 |ine of c|d fld ("|
|00004d90| 57 22 26 63 6f 75 6e 74 | 65 72 29 20 6f 66 20 63 |W"&count|er) of c|
|00004da0| 64 20 22 53 70 65 6c 6c | 73 22 20 6f 66 20 77 64 |d "Spell|s" of wd|
|00004db0| 20 22 53 70 65 6c 6c 73 | 22 20 69 6e 74 6f 20 73 | "Spells|" into s|
|00004dc0| 70 65 6c 6c 63 68 65 63 | 6b 0d 69 66 20 73 70 65 |pellchec|k.if spe|
|00004dd0| 6c 6c 73 20 63 6f 6e 74 | 61 69 6e 73 20 73 70 65 |lls cont|ains spe|
|00004de0| 6c 6c 63 68 65 63 6b 20 | 74 68 65 6e 0d 70 75 74 |llcheck |then.put|
|00004df0| 20 22 79 65 73 22 20 69 | 6e 74 6f 20 72 65 70 65 | "yes" i|nto repe|
|00004e00| 61 74 65 64 0d 61 64 64 | 20 31 20 74 6f 20 63 6f |ated.add| 1 to co|
|00004e10| 75 6e 74 65 72 32 0d 65 | 78 69 74 20 72 65 70 65 |unter2.e|xit repe|
|00004e20| 61 74 0d 65 6c 73 65 0d | 70 75 74 20 73 70 65 6c |at.else.|put spel|
|00004e30| 6c 63 68 65 63 6b 20 69 | 6e 74 6f 20 6c 69 6e 65 |lcheck i|nto line|
|00004e40| 20 28 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 | (the nu|mber of |
|00004e50| 6c 69 6e 65 73 20 6f 66 | 20 73 70 65 6c 6c 73 29 |lines of| spells)|
|00004e60| 2b 31 20 6f 66 20 73 70 | 65 6c 6c 73 0d 70 75 74 |+1 of sp|ells.put|
|00004e70| 20 22 6e 6f 22 20 69 6e | 74 6f 20 72 65 70 65 61 | "no" in|to repea|
|00004e80| 74 65 64 0d 61 64 64 20 | 31 20 74 6f 20 63 6f 75 |ted.add |1 to cou|
|00004e90| 6e 74 65 72 32 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nter2.en|d if.end|
|00004ea0| 20 72 65 70 65 61 74 0d | 69 66 20 63 6f 75 6e 74 | repeat.|if count|
|00004eb0| 65 72 32 20 3d 20 6d 61 | 78 73 70 65 6c 6c 73 20 |er2 = ma|xspells |
|00004ec0| 74 68 65 6e 20 65 78 69 | 74 20 72 65 70 65 61 74 |then exi|t repeat|
|00004ed0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|00004ee0| 61 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 70 75 |at.end r|epeat.pu|
|00004ef0| 74 20 22 20 22 20 69 6e | 74 6f 20 6c 69 6e 65 20 |t " " in|to line |
|00004f00| 28 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c |(the num|ber of l|
|00004f10| 69 6e 65 73 20 6f 66 20 | 73 70 65 6c 6c 73 29 2b |ines of |spells)+|
|00004f20| 31 20 6f 66 20 73 70 65 | 6c 6c 73 0d 65 6e 64 20 |1 of spe|lls.end |
|00004f30| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e |if.end r|epeat.en|
|00004f40| 64 20 69 66 0d 69 66 20 | 72 65 61 6c 69 6e 74 20 |d if.if |realint |
|00004f50| 3d 20 31 39 20 74 68 65 | 6e 0d 70 75 74 20 22 44 |= 19 the|n.put "D|
|00004f60| 61 69 6c 79 20 73 70 65 | 6c 6c 73 2c 20 62 79 20 |aily spe|lls, by |
|00004f70| 6c 65 76 65 6c 3a 22 20 | 26 26 20 73 70 65 6c 6c |level:" |&& spell|
|00004f80| 73 32 20 69 6e 74 6f 20 | 6c 69 6e 65 20 28 74 68 |s2 into |line (th|
|00004f90| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|00004fa0| 73 20 6f 66 20 73 70 65 | 6c 6c 73 29 2b 31 20 6f |s of spe|lls)+1 o|
|00004fb0| 66 20 73 70 65 6c 6c 73 | 0d 70 75 74 20 22 42 61 |f spells|.put "Ba|
|00004fc0| 72 64 20 53 70 65 6c 6c | 62 6f 6f 6b 20 53 70 65 |rd Spell|book Spe|
|00004fd0| 6c 6c 73 22 20 69 6e 74 | 6f 20 6c 69 6e 65 20 28 |lls" int|o line (|
|00004fe0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00004ff0| 6e 65 73 20 6f 66 20 73 | 70 65 6c 6c 73 29 2b 32 |nes of s|pells)+2|
|00005000| 20 6f 66 20 73 70 65 6c | 6c 73 0d 70 75 74 20 22 | of spel|ls.put "|
|00005010| 20 22 20 69 6e 74 6f 20 | 6c 69 6e 65 20 28 74 68 | " into |line (th|
|00005020| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|00005030| 73 20 6f 66 20 73 70 65 | 6c 6c 73 29 2b 31 20 6f |s of spe|lls)+1 o|
|00005040| 66 20 73 70 65 6c 6c 73 | 0d 72 65 70 65 61 74 20 |f spells|.repeat |
|00005050| 77 69 74 68 20 63 6f 75 | 6e 74 65 72 20 3d 20 31 |with cou|nter = 1|
|00005060| 20 74 6f 20 36 0d 69 66 | 20 69 74 65 6d 20 63 6f | to 6.if| item co|
|00005070| 75 6e 74 65 72 20 6f 66 | 20 73 70 65 6c 6c 73 32 |unter of| spells2|
|00005080| 20 3c 3e 20 30 20 74 68 | 65 6e 0d 70 75 74 20 22 | <> 0 th|en.put "|
|00005090| 4c 65 76 65 6c 22 20 26 | 26 20 63 6f 75 6e 74 65 |Level" &|& counte|
|000050a0| 72 20 69 6e 74 6f 20 6c | 69 6e 65 20 28 74 68 65 |r into l|ine (the|
|000050b0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|000050c0| 20 6f 66 20 73 70 65 6c | 6c 73 29 2b 31 20 6f 66 | of spel|ls)+1 of|
|000050d0| 20 73 70 65 6c 6c 73 0d | 70 75 74 20 30 20 69 6e | spells.|put 0 in|
|000050e0| 74 6f 20 63 6f 75 6e 74 | 65 72 32 0d 72 65 70 65 |to count|er2.repe|
|000050f0| 61 74 20 66 6f 72 20 6c | 65 76 65 6c 2d 31 0d 72 |at for l|evel-1.r|
|00005100| 65 70 65 61 74 20 75 6e | 74 69 6c 20 63 6f 75 6e |epeat un|til coun|
|00005110| 74 65 72 32 20 3d 20 74 | 68 65 20 6e 75 6d 62 65 |ter2 = t|he numbe|
|00005120| 72 20 6f 66 20 6c 69 6e | 65 73 20 6f 66 20 63 64 |r of lin|es of cd|
|00005130| 20 66 6c 64 20 28 22 57 | 22 26 63 6f 75 6e 74 65 | fld ("W|"&counte|
|00005140| 72 29 20 6f 66 20 63 64 | 20 22 53 70 65 6c 6c 73 |r) of cd| "Spells|
|00005150| 22 20 6f 66 20 77 64 20 | 22 53 70 65 6c 6c 73 22 |" of wd |"Spells"|
|00005160| 0d 69 66 20 74 68 65 20 | 72 61 6e 64 6f 6d 20 6f |.if the |random o|
|00005170| 66 20 31 30 30 20 3c 3d | 20 39 35 20 74 68 65 6e |f 100 <=| 95 then|
|00005180| 0d 70 75 74 20 22 79 65 | 73 22 20 69 6e 74 6f 20 |.put "ye|s" into |
|00005190| 72 65 70 65 61 74 65 64 | 0d 72 65 70 65 61 74 20 |repeated|.repeat |
|000051a0| 75 6e 74 69 6c 20 72 65 | 70 65 61 74 65 64 20 3c |until re|peated <|
|000051b0| 3e 20 22 79 65 73 22 0d | 70 75 74 20 69 74 65 6d |> "yes".|put item|
|000051c0| 20 31 20 6f 66 20 61 6e | 79 20 6c 69 6e 65 20 6f | 1 of an|y line o|
|000051d0| 66 20 63 64 20 66 6c 64 | 20 28 22 57 22 26 63 6f |f cd fld| ("W"&co|
|000051e0| 75 6e 74 65 72 29 20 6f | 66 20 63 64 20 22 53 70 |unter) o|f cd "Sp|
|000051f0| 65 6c 6c 73 22 20 6f 66 | 20 77 64 20 22 53 70 65 |ells" of| wd "Spe|
|00005200| 6c 6c 73 22 20 69 6e 74 | 6f 20 73 70 65 6c 6c 63 |lls" int|o spellc|
|00005210| 68 65 63 6b 0d 69 66 20 | 73 70 65 6c 6c 73 20 63 |heck.if |spells c|
|00005220| 6f 6e 74 61 69 6e 73 20 | 73 70 65 6c 6c 63 68 65 |ontains |spellche|
|00005230| 63 6b 20 74 68 65 6e 0d | 70 75 74 20 22 79 65 73 |ck then.|put "yes|
|00005240| 22 20 69 6e 74 6f 20 72 | 65 70 65 61 74 65 64 0d |" into r|epeated.|
|00005250| 65 6c 73 65 0d 70 75 74 | 20 73 70 65 6c 6c 63 68 |else.put| spellch|
|00005260| 65 63 6b 20 69 6e 74 6f | 20 6c 69 6e 65 20 28 74 |eck into| line (t|
|00005270| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00005280| 65 73 20 6f 66 20 73 70 | 65 6c 6c 73 29 2b 31 20 |es of sp|ells)+1 |
|00005290| 6f 66 20 73 70 65 6c 6c | 73 0d 70 75 74 20 22 6e |of spell|s.put "n|
|000052a0| 6f 22 20 69 6e 74 6f 20 | 72 65 70 65 61 74 65 64 |o" into |repeated|
|000052b0| 0d 61 64 64 20 31 20 74 | 6f 20 63 6f 75 6e 74 65 |.add 1 t|o counte|
|000052c0| 72 32 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |r2.end i|f.end re|
|000052d0| 70 65 61 74 0d 65 6c 73 | 65 20 61 64 64 20 31 20 |peat.els|e add 1 |
|000052e0| 74 6f 20 63 6f 75 6e 74 | 65 72 32 0d 65 6e 64 20 |to count|er2.end |
|000052f0| 72 65 70 65 61 74 0d 65 | 6e 64 20 72 65 70 65 61 |repeat.e|nd repea|
|00005300| 74 0d 70 75 74 20 22 20 | 22 20 69 6e 74 6f 20 6c |t.put " |" into l|
|00005310| 69 6e 65 20 28 74 68 65 | 20 6e 75 6d 62 65 72 20 |ine (the| number |
|00005320| 6f 66 20 6c 69 6e 65 73 | 20 6f 66 20 73 70 65 6c |of lines| of spel|
|00005330| 6c 73 29 2b 31 20 6f 66 | 20 73 70 65 6c 6c 73 0d |ls)+1 of| spells.|
|00005340| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|00005350| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |t.end if|.end if.|
|00005360| 69 66 20 67 72 6f 75 70 | 20 3d 20 22 57 69 7a 61 |if group| = "Wiza|
|00005370| 72 64 22 20 74 68 65 6e | 0d 69 66 20 6c 65 76 65 |rd" then|.if leve|
|00005380| 6c 20 3d 20 31 20 74 68 | 65 6e 20 70 75 74 20 22 |l = 1 th|en put "|
|00005390| 31 2c 30 2c 30 2c 30 2c | 30 2c 30 2c 30 2c 30 2c |1,0,0,0,|0,0,0,0,|
|000053a0| 30 22 20 69 6e 74 6f 20 | 73 70 65 6c 6c 73 32 0d |0" into |spells2.|
|000053b0| 69 66 20 6c 65 76 65 6c | 20 3d 20 32 20 74 68 65 |if level| = 2 the|
|000053c0| 6e 20 70 75 74 20 22 32 | 2c 30 2c 30 2c 30 2c 30 |n put "2|,0,0,0,0|
|000053d0| 2c 30 2c 30 2c 30 2c 30 | 22 20 69 6e 74 6f 20 73 |,0,0,0,0|" into s|
|000053e0| 70 65 6c 6c 73 32 0d 69 | 66 20 6c 65 76 65 6c 20 |pells2.i|f level |
|000053f0| 3d 20 33 20 74 68 65 6e | 20 70 75 74 20 22 32 2c |= 3 then| put "2,|
|00005400| 31 2c 30 2c 30 2c 30 2c | 30 2c 30 2c 30 2c 30 22 |1,0,0,0,|0,0,0,0"|
|00005410| 20 69 6e 74 6f 20 73 70 | 65 6c 6c 73 32 0d 69 66 | into sp|ells2.if|
|00005420| 20 6c 65 76 65 6c 20 3d | 20 34 20 74 68 65 6e 20 | level =| 4 then |
|00005430| 70 75 74 20 22 33 2c 32 | 2c 30 2c 30 2c 30 2c 30 |put "3,2|,0,0,0,0|
|00005440| 2c 30 2c 30 2c 30 22 20 | 69 6e 74 6f 20 73 70 65 |,0,0,0" |into spe|
|00005450| 6c 6c 73 32 0d 69 66 20 | 6c 65 76 65 6c 20 3d 20 |lls2.if |level = |
|00005460| 35 20 74 68 65 6e 20 70 | 75 74 20 22 34 2c 32 2c |5 then p|ut "4,2,|
|00005470| 31 2c 30 2c 30 2c 30 2c | 30 2c 30 2c 30 22 20 69 |1,0,0,0,|0,0,0" i|
|00005480| 6e 74 6f 20 73 70 65 6c | 6c 73 32 0d 69 66 20 6c |nto spel|ls2.if l|
|00005490| 65 76 65 6c 20 3d 20 36 | 20 74 68 65 6e 20 70 75 |evel = 6| then pu|
|000054a0| 74 20 22 34 2c 32 2c 32 | 2c 30 2c 30 2c 30 2c 30 |t "4,2,2|,0,0,0,0|
|000054b0| 2c 30 2c 30 22 20 69 6e | 74 6f 20 73 70 65 6c 6c |,0,0" in|to spell|
|000054c0| 73 32 0d 69 66 20 6c 65 | 76 65 6c 20 3d 20 37 20 |s2.if le|vel = 7 |
|000054d0| 74 68 65 6e 20 70 75 74 | 20 22 34 2c 33 2c 32 2c |then put| "4,3,2,|
|000054e0| 31 2c 30 2c 30 2c 30 2c | 30 2c 30 22 20 69 6e 74 |1,0,0,0,|0,0" int|
|000054f0| 6f 20 73 70 65 6c 6c 73 | 32 0d 69 66 20 6c 65 76 |o spells|2.if lev|
|00005500| 65 6c 20 3d 20 38 20 74 | 68 65 6e 20 70 75 74 20 |el = 8 t|hen put |
|00005510| 22 34 2c 33 2c 33 2c 32 | 2c 30 2c 30 2c 30 2c 30 |"4,3,3,2|,0,0,0,0|
|00005520| 2c 30 22 20 69 6e 74 6f | 20 73 70 65 6c 6c 73 32 |,0" into| spells2|
|00005530| 0d 69 66 20 6c 65 76 65 | 6c 20 3d 20 39 20 74 68 |.if leve|l = 9 th|
|00005540| 65 6e 20 70 75 74 20 22 | 34 2c 33 2c 33 2c 32 2c |en put "|4,3,3,2,|
|00005550| 31 2c 30 2c 30 2c 30 2c | 30 22 20 69 6e 74 6f 20 |1,0,0,0,|0" into |
|00005560| 73 70 65 6c 6c 73 32 0d | 69 66 20 6c 65 76 65 6c |spells2.|if level|
|00005570| 20 3d 20 31 30 20 74 68 | 65 6e 20 70 75 74 20 22 | = 10 th|en put "|
|00005580| 34 2c 34 2c 33 2c 32 2c | 32 2c 30 2c 30 2c 30 2c |4,4,3,2,|2,0,0,0,|
|00005590| 30 22 20 69 6e 74 6f 20 | 73 70 65 6c 6c 73 32 0d |0" into |spells2.|
|000055a0| 69 66 20 6c 65 76 65 6c | 20 3d 20 31 31 20 74 68 |if level| = 11 th|
|000055b0| 65 6e 20 70 75 74 20 22 | 34 2c 34 2c 34 2c 33 2c |en put "|4,4,4,3,|
|000055c0| 33 2c 30 2c 30 2c 30 2c | 30 22 20 69 6e 74 6f 20 |3,0,0,0,|0" into |
|000055d0| 73 70 65 6c 6c 73 32 0d | 69 66 20 6c 65 76 65 6c |spells2.|if level|
|000055e0| 20 3d 20 31 32 20 74 68 | 65 6e 20 70 75 74 20 22 | = 12 th|en put "|
|000055f0| 34 2c 34 2c 34 2c 34 2c | 34 2c 31 2c 30 2c 30 2c |4,4,4,4,|4,1,0,0,|
|00005600| 30 22 20 69 6e 74 6f 20 | 73 70 65 6c 6c 73 32 0d |0" into |spells2.|
|00005610| 69 66 20 6c 65 76 65 6c | 20 3d 20 31 33 20 74 68 |if level| = 13 th|
|00005620| 65 6e 20 70 75 74 20 22 | 35 2c 35 2c 35 2c 34 2c |en put "|5,5,5,4,|
|00005630| 34 2c 32 2c 30 2c 30 2c | 30 22 20 69 6e 74 6f 20 |4,2,0,0,|0" into |
|00005640| 73 70 65 6c 6c 73 32 0d | 69 66 20 6c 65 76 65 6c |spells2.|if level|
|00005650| 20 3d 20 31 34 20 74 68 | 65 6e 20 70 75 74 20 22 | = 14 th|en put "|
|00005660| 35 2c 35 2c 35 2c 34 2c | 34 2c 32 2c 31 2c 30 2c |5,5,5,4,|4,2,1,0,|
|00005670| 30 22 20 69 6e 74 6f 20 | 73 70 65 6c 6c 73 32 0d |0" into |spells2.|
|00005680| 69 66 20 6c 65 76 65 6c | 20 3d 20 31 35 20 74 68 |if level| = 15 th|
|00005690| 65 6e 20 70 75 74 20 22 | 35 2c 35 2c 35 2c 35 2c |en put "|5,5,5,5,|
|000056a0| 35 2c 32 2c 31 2c 30 2c | 30 22 20 69 6e 74 6f 20 |5,2,1,0,|0" into |
|000056b0| 73 70 65 6c 6c 73 32 0d | 69 66 20 6c 65 76 65 6c |spells2.|if level|
|000056c0| 20 3d 20 31 36 20 74 68 | 65 6e 20 70 75 74 20 22 | = 16 th|en put "|
|000056d0| 35 2c 35 2c 35 2c 35 2c | 35 2c 33 2c 32 2c 31 2c |5,5,5,5,|5,3,2,1,|
|000056e0| 30 22 20 69 6e 74 6f 20 | 73 70 65 6c 6c 73 32 0d |0" into |spells2.|
|000056f0| 69 66 20 6c 65 76 65 6c | 20 3d 20 31 37 20 74 68 |if level| = 17 th|
|00005700| 65 6e 20 70 75 74 20 22 | 35 2c 35 2c 35 2c 35 2c |en put "|5,5,5,5,|
|00005710| 35 2c 33 2c 33 2c 32 2c | 30 22 20 69 6e 74 6f 20 |5,3,3,2,|0" into |
|00005720| 73 70 65 6c 6c 73 32 0d | 69 66 20 6c 65 76 65 6c |spells2.|if level|
|00005730| 20 3d 20 31 38 20 74 68 | 65 6e 20 70 75 74 20 22 | = 18 th|en put "|
|00005740| 35 2c 35 2c 35 2c 35 2c | 35 2c 33 2c 33 2c 32 2c |5,5,5,5,|5,3,3,2,|
|00005750| 31 22 20 69 6e 74 6f 20 | 73 70 65 6c 6c 73 32 0d |1" into |spells2.|
|00005760| 69 66 20 6c 65 76 65 6c | 20 3d 20 31 39 20 74 68 |if level| = 19 th|
|00005770| 65 6e 20 70 75 74 20 22 | 35 2c 35 2c 35 2c 35 2c |en put "|5,5,5,5,|
|00005780| 35 2c 33 2c 33 2c 33 2c | 31 22 20 69 6e 74 6f 20 |5,3,3,3,|1" into |
|00005790| 73 70 65 6c 6c 73 32 0d | 69 66 20 6c 65 76 65 6c |spells2.|if level|
|000057a0| 20 3d 20 32 30 20 74 68 | 65 6e 20 70 75 74 20 22 | = 20 th|en put "|
|000057b0| 35 2c 35 2c 35 2c 35 2c | 35 2c 34 2c 33 2c 33 2c |5,5,5,5,|5,4,3,3,|
|000057c0| 32 22 20 69 6e 74 6f 20 | 73 70 65 6c 6c 73 32 0d |2" into |spells2.|
|000057d0| 69 66 20 77 6f 72 64 20 | 31 20 6f 66 20 69 6e 74 |if word |1 of int|
|000057e0| 65 6c 6c 69 67 65 6e 63 | 65 20 3d 20 39 20 74 68 |elligenc|e = 9 th|
|000057f0| 65 6e 0d 70 75 74 20 30 | 20 69 6e 74 6f 20 69 74 |en.put 0| into it|
|00005800| 65 6d 20 35 20 6f 66 20 | 73 70 65 6c 6c 73 32 0d |em 5 of |spells2.|
|00005810| 70 75 74 20 30 20 69 6e | 74 6f 20 69 74 65 6d 20 |put 0 in|to item |
|00005820| 36 20 6f 66 20 73 70 65 | 6c 6c 73 32 0d 70 75 74 |6 of spe|lls2.put|
|00005830| 20 30 20 69 6e 74 6f 20 | 69 74 65 6d 20 37 20 6f | 0 into |item 7 o|
|00005840| 66 20 73 70 65 6c 6c 73 | 32 0d 70 75 74 20 30 20 |f spells|2.put 0 |
|00005850| 69 6e 74 6f 20 69 74 65 | 6d 20 38 20 6f 66 20 73 |into ite|m 8 of s|
|00005860| 70 65 6c 6c 73 32 0d 70 | 75 74 20 30 20 69 6e 74 |pells2.p|ut 0 int|
|00005870| 6f 20 69 74 65 6d 20 39 | 20 6f 66 20 73 70 65 6c |o item 9| of spel|
|00005880| 6c 73 32 0d 65 6e 64 20 | 69 66 0d 69 66 20 77 6f |ls2.end |if.if wo|
|00005890| 72 64 20 31 20 6f 66 20 | 69 6e 74 65 6c 6c 69 67 |rd 1 of |intellig|
|000058a0| 65 6e 63 65 20 3d 20 31 | 30 20 6f 72 20 77 6f 72 |ence = 1|0 or wor|
|000058b0| 64 20 31 20 6f 66 20 69 | 6e 74 65 6c 6c 69 67 65 |d 1 of i|ntellige|
|000058c0| 6e 63 65 20 3d 20 31 31 | 20 74 68 65 6e 0d 70 75 |nce = 11| then.pu|
|000058d0| 74 20 30 20 69 6e 74 6f | 20 69 74 65 6d 20 36 20 |t 0 into| item 6 |
|000058e0| 6f 66 20 73 70 65 6c 6c | 73 32 0d 70 75 74 20 30 |of spell|s2.put 0|
|000058f0| 20 69 6e 74 6f 20 69 74 | 65 6d 20 37 20 6f 66 20 | into it|em 7 of |
|00005900| 73 70 65 6c 6c 73 32 0d | 70 75 74 20 30 20 69 6e |spells2.|put 0 in|
|00005910| 74 6f 20 69 74 65 6d 20 | 38 20 6f 66 20 73 70 65 |to item |8 of spe|
|00005920| 6c 6c 73 32 0d 70 75 74 | 20 30 20 69 6e 74 6f 20 |lls2.put| 0 into |
|00005930| 69 74 65 6d 20 39 20 6f | 66 20 73 70 65 6c 6c 73 |item 9 o|f spells|
|00005940| 32 0d 65 6e 64 20 69 66 | 0d 69 66 20 77 6f 72 64 |2.end if|.if word|
|00005950| 20 31 20 6f 66 20 69 6e | 74 65 6c 6c 69 67 65 6e | 1 of in|telligen|
|00005960| 63 65 20 3d 20 31 32 20 | 6f 72 20 77 6f 72 64 20 |ce = 12 |or word |
|00005970| 31 20 6f 66 20 69 6e 74 | 65 6c 6c 69 67 65 6e 63 |1 of int|elligenc|
|00005980| 65 20 3d 20 31 33 20 74 | 68 65 6e 0d 70 75 74 20 |e = 13 t|hen.put |
|00005990| 30 20 69 6e 74 6f 20 69 | 74 65 6d 20 37 20 6f 66 |0 into i|tem 7 of|
|000059a0| 20 73 70 65 6c 6c 73 32 | 0d 70 75 74 20 30 20 69 | spells2|.put 0 i|
|000059b0| 6e 74 6f 20 69 74 65 6d | 20 38 20 6f 66 20 73 70 |nto item| 8 of sp|
|000059c0| 65 6c 6c 73 32 0d 70 75 | 74 20 30 20 69 6e 74 6f |ells2.pu|t 0 into|
|000059d0| 20 69 74 65 6d 20 39 20 | 6f 66 20 73 70 65 6c 6c | item 9 |of spell|
|000059e0| 73 32 0d 65 6e 64 20 69 | 66 0d 69 66 20 77 6f 72 |s2.end i|f.if wor|
|000059f0| 64 20 31 20 6f 66 20 69 | 6e 74 65 6c 6c 69 67 65 |d 1 of i|ntellige|
|00005a00| 6e 63 65 20 3d 20 31 34 | 20 6f 72 20 77 6f 72 64 |nce = 14| or word|
|00005a10| 20 31 20 6f 66 20 69 6e | 74 65 6c 6c 69 67 65 6e | 1 of in|telligen|
|00005a20| 63 65 20 3d 20 31 35 20 | 74 68 65 6e 0d 70 75 74 |ce = 15 |then.put|
|00005a30| 20 30 20 69 6e 74 6f 20 | 69 74 65 6d 20 38 20 6f | 0 into |item 8 o|
|00005a40| 66 20 73 70 65 6c 6c 73 | 32 0d 70 75 74 20 30 20 |f spells|2.put 0 |
|00005a50| 69 6e 74 6f 20 69 74 65 | 6d 20 39 20 6f 66 20 73 |into ite|m 9 of s|
|00005a60| 70 65 6c 6c 73 32 0d 65 | 6e 64 20 69 66 0d 69 66 |pells2.e|nd if.if|
|00005a70| 20 77 6f 72 64 20 31 20 | 6f 66 20 69 6e 74 65 6c | word 1 |of intel|
|00005a80| 6c 69 67 65 6e 63 65 20 | 3d 20 31 36 20 6f 72 20 |ligence |= 16 or |
|00005a90| 77 6f 72 64 20 31 20 6f | 66 20 69 6e 74 65 6c 6c |word 1 o|f intell|
|00005aa0| 69 67 65 6e 63 65 20 3d | 20 31 37 20 74 68 65 6e |igence =| 17 then|
|00005ab0| 0d 70 75 74 20 30 20 69 | 6e 74 6f 20 69 74 65 6d |.put 0 i|nto item|
|00005ac0| 20 39 20 6f 66 20 73 70 | 65 6c 6c 73 32 0d 65 6e | 9 of sp|ells2.en|
|00005ad0| 64 20 69 66 0d 69 66 20 | 63 6c 61 73 73 20 3d 20 |d if.if |class = |
|00005ae0| 22 49 6c 6c 75 73 69 6f | 6e 69 73 74 22 20 74 68 |"Illusio|nist" th|
|00005af0| 65 6e 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 63 |en.repea|t with c|
|00005b00| 6f 75 6e 74 65 72 20 3d | 20 31 20 74 6f 20 39 0d |ounter =| 1 to 9.|
|00005b10| 69 66 20 69 74 65 6d 20 | 63 6f 75 6e 74 65 72 20 |if item |counter |
|00005b20| 6f 66 20 73 70 65 6c 6c | 73 32 20 3c 3e 20 30 20 |of spell|s2 <> 0 |
|00005b30| 74 68 65 6e 20 61 64 64 | 20 31 20 74 6f 20 69 74 |then add| 1 to it|
|00005b40| 65 6d 20 63 6f 75 6e 74 | 65 72 20 6f 66 20 73 70 |em count|er of sp|
|00005b50| 65 6c 6c 73 32 0d 65 6e | 64 20 72 65 70 65 61 74 |ells2.en|d repeat|
|00005b60| 0d 65 6e 64 20 69 66 0d | 70 75 74 20 69 6e 74 65 |.end if.|put inte|
|00005b70| 6c 6c 69 67 65 6e 63 65 | 20 69 6e 74 6f 20 77 69 |lligence| into wi|
|00005b80| 7a 69 6e 74 0d 70 75 74 | 20 77 6f 72 64 20 31 20 |zint.put| word 1 |
|00005b90| 6f 66 20 77 69 7a 69 6e | 74 20 69 6e 74 6f 20 72 |of wizin|t into r|
|00005ba0| 65 61 6c 69 6e 74 0d 64 | 65 6c 65 74 65 20 77 6f |ealint.d|elete wo|
|00005bb0| 72 64 20 31 20 6f 66 20 | 77 69 7a 69 6e 74 0d 64 |rd 1 of |wizint.d|
|00005bc0| 65 6c 65 74 65 20 66 69 | 72 73 74 20 63 68 61 72 |elete fi|rst char|
|00005bd0| 20 6f 66 20 77 69 7a 69 | 6e 74 0d 64 65 6c 65 74 | of wizi|nt.delet|
|00005be0| 65 20 6c 61 73 74 20 63 | 68 61 72 20 6f 66 20 77 |e last c|har of w|
|00005bf0| 69 7a 69 6e 74 0d 70 75 | 74 20 69 74 65 6d 20 32 |izint.pu|t item 2|
|00005c00| 20 6f 66 20 77 69 7a 69 | 6e 74 20 69 6e 74 6f 20 | of wizi|nt into |
|00005c10| 6c 65 76 65 6c 6c 69 6d | 69 74 0d 70 75 74 20 69 |levellim|it.put i|
|00005c20| 74 65 6d 20 33 20 6f 66 | 20 77 69 7a 69 6e 74 20 |tem 3 of| wizint |
|00005c30| 69 6e 74 6f 20 63 68 61 | 6e 63 65 0d 70 75 74 20 |into cha|nce.put |
|00005c40| 69 74 65 6d 20 34 20 6f | 66 20 77 69 7a 69 6e 74 |item 4 o|f wizint|
|00005c50| 20 69 6e 74 6f 20 6d 61 | 78 73 70 65 6c 6c 73 0d | into ma|xspells.|
|00005c60| 69 66 20 72 65 61 6c 69 | 6e 74 20 3c 31 39 20 61 |if reali|nt <19 a|
|00005c70| 6e 64 20 63 6c 61 73 73 | 20 3c 3e 20 22 49 6c 6c |nd class| <> "Ill|
|00005c80| 75 73 69 6f 6e 69 73 74 | 22 20 74 68 65 6e 0d 70 |usionist|" then.p|
|00005c90| 75 74 20 22 44 61 69 6c | 79 20 73 70 65 6c 6c 73 |ut "Dail|y spells|
|00005ca0| 2c 20 62 79 20 6c 65 76 | 65 6c 3a 22 20 26 26 20 |, by lev|el:" && |
|00005cb0| 73 70 65 6c 6c 73 32 20 | 69 6e 74 6f 20 6c 69 6e |spells2 |into lin|
|00005cc0| 65 20 28 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |e (the n|umber of|
|00005cd0| 20 6c 69 6e 65 73 20 6f | 66 20 73 70 65 6c 6c 73 | lines o|f spells|
|00005ce0| 29 2b 31 20 6f 66 20 73 | 70 65 6c 6c 73 0d 70 75 |)+1 of s|pells.pu|
|00005cf0| 74 20 22 57 69 7a 61 72 | 64 20 53 70 65 6c 6c 62 |t "Wizar|d Spellb|
|00005d00| 6f 6f 6b 20 53 70 65 6c | 6c 73 22 20 69 6e 74 6f |ook Spel|ls" into|
|00005d10| 20 6c 69 6e 65 20 28 74 | 68 65 20 6e 75 6d 62 65 | line (t|he numbe|
|00005d20| 72 20 6f 66 20 6c 69 6e | 65 73 20 6f 66 20 73 70 |r of lin|es of sp|
|00005d30| 65 6c 6c 73 29 2b 32 20 | 6f 66 20 73 70 65 6c 6c |ells)+2 |of spell|
|00005d40| 73 0d 70 75 74 20 22 20 | 22 20 69 6e 74 6f 20 6c |s.put " |" into l|
|00005d50| 69 6e 65 20 28 74 68 65 | 20 6e 75 6d 62 65 72 20 |ine (the| number |
|00005d60| 6f 66 20 6c 69 6e 65 73 | 20 6f 66 20 73 70 65 6c |of lines| of spel|
|00005d70| 6c 73 29 2b 31 20 6f 66 | 20 73 70 65 6c 6c 73 0d |ls)+1 of| spells.|
|00005d80| 72 65 70 65 61 74 20 77 | 69 74 68 20 63 6f 75 6e |repeat w|ith coun|
|00005d90| 74 65 72 20 3d 20 31 20 | 74 6f 20 39 0d 69 66 20 |ter = 1 |to 9.if |
|00005da0| 69 74 65 6d 20 63 6f 75 | 6e 74 65 72 20 6f 66 20 |item cou|nter of |
|00005db0| 73 70 65 6c 6c 73 32 20 | 3c 3e 20 30 20 74 68 65 |spells2 |<> 0 the|
|00005dc0| 6e 0d 70 75 74 20 22 4c | 65 76 65 6c 22 20 26 26 |n.put "L|evel" &&|
|00005dd0| 20 63 6f 75 6e 74 65 72 | 20 69 6e 74 6f 20 6c 69 | counter| into li|
|00005de0| 6e 65 20 28 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |ne (the |number o|
|00005df0| 66 20 6c 69 6e 65 73 20 | 6f 66 20 73 70 65 6c 6c |f lines |of spell|
|00005e00| 73 29 2b 31 20 6f 66 20 | 73 70 65 6c 6c 73 0d 70 |s)+1 of |spells.p|
|00005e10| 75 74 20 30 20 69 6e 74 | 6f 20 63 6f 75 6e 74 65 |ut 0 int|o counte|
|00005e20| 72 32 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 63 |r2.repea|t with c|
|00005e30| 6f 75 6e 74 65 72 39 20 | 3d 20 31 20 74 6f 20 28 |ounter9 |= 1 to (|
|00005e40| 6c 65 76 65 6c 2d 31 29 | 0d 72 65 70 65 61 74 20 |level-1)|.repeat |
|00005e50| 75 6e 74 69 6c 20 63 6f | 75 6e 74 65 72 32 20 3d |until co|unter2 =|
|00005e60| 20 6d 61 78 73 70 65 6c | 6c 73 0d 69 66 20 74 68 | maxspel|ls.if th|
|00005e70| 65 20 72 61 6e 64 6f 6d | 20 6f 66 20 31 30 30 20 |e random| of 100 |
|00005e80| 3c 3d 20 63 68 61 6e 63 | 65 20 74 68 65 6e 0d 70 |<= chanc|e then.p|
|00005e90| 75 74 20 22 79 65 73 22 | 20 69 6e 74 6f 20 72 65 |ut "yes"| into re|
|00005ea0| 70 65 61 74 65 64 0d 72 | 65 70 65 61 74 20 75 6e |peated.r|epeat un|
|00005eb0| 74 69 6c 20 72 65 70 65 | 61 74 65 64 20 3c 3e 20 |til repe|ated <> |
|00005ec0| 22 79 65 73 22 0d 70 75 | 74 20 69 74 65 6d 20 31 |"yes".pu|t item 1|
|00005ed0| 20 6f 66 20 61 6e 79 20 | 6c 69 6e 65 20 6f 66 20 | of any |line of |
|00005ee0| 63 64 20 66 6c 64 20 28 | 22 57 22 26 63 6f 75 6e |cd fld (|"W"&coun|
|00005ef0| 74 65 72 29 20 6f 66 20 | 63 64 20 22 53 70 65 6c |ter) of |cd "Spel|
|00005f00| 6c 73 22 20 6f 66 20 77 | 64 20 22 53 70 65 6c 6c |ls" of w|d "Spell|
|00005f10| 73 22 20 69 6e 74 6f 20 | 73 70 65 6c 6c 63 68 65 |s" into |spellche|
|00005f20| 63 6b 0d 69 66 20 73 70 | 65 6c 6c 73 20 63 6f 6e |ck.if sp|ells con|
|00005f30| 74 61 69 6e 73 20 73 70 | 65 6c 6c 63 68 65 63 6b |tains sp|ellcheck|
|00005f40| 20 74 68 65 6e 0d 70 75 | 74 20 22 79 65 73 22 20 | then.pu|t "yes" |
|00005f50| 69 6e 74 6f 20 72 65 70 | 65 61 74 65 64 0d 61 64 |into rep|eated.ad|
|00005f60| 64 20 31 20 74 6f 20 63 | 6f 75 6e 74 65 72 32 0d |d 1 to c|ounter2.|
|00005f70| 65 78 69 74 20 72 65 70 | 65 61 74 0d 65 6c 73 65 |exit rep|eat.else|
|00005f80| 0d 70 75 74 20 73 70 65 | 6c 6c 63 68 65 63 6b 20 |.put spe|llcheck |
|00005f90| 69 6e 74 6f 20 6c 69 6e | 65 20 28 74 68 65 20 6e |into lin|e (the n|
|00005fa0| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o|
|00005fb0| 66 20 73 70 65 6c 6c 73 | 29 2b 31 20 6f 66 20 73 |f spells|)+1 of s|
|00005fc0| 70 65 6c 6c 73 0d 70 75 | 74 20 22 6e 6f 22 20 69 |pells.pu|t "no" i|
|00005fd0| 6e 74 6f 20 72 65 70 65 | 61 74 65 64 0d 61 64 64 |nto repe|ated.add|
|00005fe0| 20 31 20 74 6f 20 63 6f | 75 6e 74 65 72 32 0d 65 | 1 to co|unter2.e|
|00005ff0| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 70 65 61 74 |nd if.en|d repeat|
|00006000| 0d 69 66 20 63 6f 75 6e | 74 65 72 32 20 3d 20 6d |.if coun|ter2 = m|
|00006010| 61 78 73 70 65 6c 6c 73 | 20 74 68 65 6e 20 65 78 |axspells| then ex|
|00006020| 69 74 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 |it repea|t.end if|
|00006030| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00006040| 72 65 70 65 61 74 0d 70 | 75 74 20 22 20 22 20 69 |repeat.p|ut " " i|
|00006050| 6e 74 6f 20 6c 69 6e 65 | 20 28 74 68 65 20 6e 75 |nto line| (the nu|
|00006060| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 6f 66 |mber of |lines of|
|00006070| 20 73 70 65 6c 6c 73 29 | 2b 31 20 6f 66 20 73 70 | spells)|+1 of sp|
|00006080| 65 6c 6c 73 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |ells.end| if.end |
|00006090| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 69 66 |repeat.e|nd if.if|
|000060a0| 20 72 65 61 6c 69 6e 74 | 20 3d 20 31 39 20 61 6e | realint| = 19 an|
|000060b0| 64 20 63 6c 61 73 73 20 | 3c 3e 20 22 49 6c 6c 75 |d class |<> "Illu|
|000060c0| 73 69 6f 6e 69 73 74 22 | 20 74 68 65 6e 0d 70 75 |sionist"| then.pu|
|000060d0| 74 20 22 44 61 69 6c 79 | 20 73 70 65 6c 6c 73 2c |t "Daily| spells,|
|000060e0| 20 62 79 20 6c 65 76 65 | 6c 3a 22 20 26 26 20 73 | by leve|l:" && s|
|000060f0| 70 65 6c 6c 73 32 20 69 | 6e 74 6f 20 6c 69 6e 65 |pells2 i|nto line|
|00006100| 20 28 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 | (the nu|mber of |
|00006110| 6c 69 6e 65 73 20 6f 66 | 20 73 70 65 6c 6c 73 29 |lines of| spells)|
|00006120| 2b 31 20 6f 66 20 73 70 | 65 6c 6c 73 0d 70 75 74 |+1 of sp|ells.put|
|00006130| 20 22 57 69 7a 61 72 64 | 20 53 70 65 6c 6c 62 6f | "Wizard| Spellbo|
|00006140| 6f 6b 20 53 70 65 6c 6c | 73 22 20 69 6e 74 6f 20 |ok Spell|s" into |
|00006150| 6c 69 6e 65 20 28 74 68 | 65 20 6e 75 6d 62 65 72 |line (th|e number|
|00006160| 20 6f 66 20 6c 69 6e 65 | 73 20 6f 66 20 73 70 65 | of line|s of spe|
|00006170| 6c 6c 73 29 2b 32 20 6f | 66 20 73 70 65 6c 6c 73 |lls)+2 o|f spells|
|00006180| 0d 70 75 74 20 22 20 22 | 20 69 6e 74 6f 20 6c 69 |.put " "| into li|
|00006190| 6e 65 20 28 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |ne (the |number o|
|000061a0| 66 20 6c 69 6e 65 73 20 | 6f 66 20 73 70 65 6c 6c |f lines |of spell|
|000061b0| 73 29 2b 31 20 6f 66 20 | 73 70 65 6c 6c 73 0d 72 |s)+1 of |spells.r|
|000061c0| 65 70 65 61 74 20 77 69 | 74 68 20 63 6f 75 6e 74 |epeat wi|th count|
|000061d0| 65 72 20 3d 20 31 20 74 | 6f 20 39 0d 69 66 20 69 |er = 1 t|o 9.if i|
|000061e0| 74 65 6d 20 63 6f 75 6e | 74 65 72 20 6f 66 20 73 |tem coun|ter of s|
|000061f0| 70 65 6c 6c 73 32 20 3c | 3e 20 30 20 74 68 65 6e |pells2 <|> 0 then|
|00006200| 0d 70 75 74 20 22 4c 65 | 76 65 6c 22 20 26 26 20 |.put "Le|vel" && |
|00006210| 63 6f 75 6e 74 65 72 20 | 69 6e 74 6f 20 6c 69 6e |counter |into lin|
|00006220| 65 20 28 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |e (the n|umber of|
|00006230| 20 6c 69 6e 65 73 20 6f | 66 20 73 70 65 6c 6c 73 | lines o|f spells|
|00006240| 29 2b 31 20 6f 66 20 73 | 70 65 6c 6c 73 0d 70 75 |)+1 of s|pells.pu|
|00006250| 74 20 30 20 69 6e 74 6f | 20 63 6f 75 6e 74 65 72 |t 0 into| counter|
|00006260| 32 0d 72 65 70 65 61 74 | 20 66 6f 72 20 6c 65 76 |2.repeat| for lev|
|00006270| 65 6c 2d 31 0d 72 65 70 | 65 61 74 20 75 6e 74 69 |el-1.rep|eat unti|
|00006280| 6c 20 63 6f 75 6e 74 65 | 72 32 20 3d 20 74 68 65 |l counte|r2 = the|
|00006290| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|000062a0| 20 6f 66 20 63 64 20 66 | 6c 64 20 28 22 57 22 26 | of cd f|ld ("W"&|
|000062b0| 63 6f 75 6e 74 65 72 29 | 20 6f 66 20 63 64 20 22 |counter)| of cd "|
|000062c0| 53 70 65 6c 6c 73 22 20 | 6f 66 20 77 64 20 22 53 |Spells" |of wd "S|
|000062d0| 70 65 6c 6c 73 22 0d 69 | 66 20 74 68 65 20 72 61 |pells".i|f the ra|
|000062e0| 6e 64 6f 6d 20 6f 66 20 | 31 30 30 20 3c 3d 20 39 |ndom of |100 <= 9|
|000062f0| 35 20 74 68 65 6e 0d 70 | 75 74 20 22 79 65 73 22 |5 then.p|ut "yes"|
|00006300| 20 69 6e 74 6f 20 72 65 | 70 65 61 74 65 64 0d 72 | into re|peated.r|
|00006310| 65 70 65 61 74 20 75 6e | 74 69 6c 20 72 65 70 65 |epeat un|til repe|
|00006320| 61 74 65 64 20 3c 3e 20 | 22 79 65 73 22 0d 70 75 |ated <> |"yes".pu|
|00006330| 74 20 69 74 65 6d 20 31 | 20 6f 66 20 61 6e 79 20 |t item 1| of any |
|00006340| 6c 69 6e 65 20 6f 66 20 | 63 64 20 66 6c 64 20 28 |line of |cd fld (|
|00006350| 22 57 22 26 63 6f 75 6e | 74 65 72 29 20 6f 66 20 |"W"&coun|ter) of |
|00006360| 63 64 20 22 53 70 65 6c | 6c 73 22 20 6f 66 20 77 |cd "Spel|ls" of w|
|00006370| 64 20 22 53 70 65 6c 6c | 73 22 20 69 6e 74 6f 20 |d "Spell|s" into |
|00006380| 73 70 65 6c 6c 63 68 65 | 63 6b 0d 69 66 20 73 70 |spellche|ck.if sp|
|00006390| 65 6c 6c 73 20 63 6f 6e | 74 61 69 6e 73 20 73 70 |ells con|tains sp|
|000063a0| 65 6c 6c 63 68 65 63 6b | 20 74 68 65 6e 0d 70 75 |ellcheck| then.pu|
|000063b0| 74 20 22 79 65 73 22 20 | 69 6e 74 6f 20 72 65 70 |t "yes" |into rep|
|000063c0| 65 61 74 65 64 0d 65 6c | 73 65 0d 70 75 74 20 73 |eated.el|se.put s|
|000063d0| 70 65 6c 6c 63 68 65 63 | 6b 20 69 6e 74 6f 20 6c |pellchec|k into l|
|000063e0| 69 6e 65 20 28 74 68 65 | 20 6e 75 6d 62 65 72 20 |ine (the| number |
|000063f0| 6f 66 20 6c 69 6e 65 73 | 20 6f 66 20 73 70 65 6c |of lines| of spel|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.